Activity
From 04/17/2014 to 04/23/2014
04/23/2014
-
09:51 PM Bug #9586: Unable to build Ruby 2.1.1 on NetBSD
- Attached is the config.log for 2.1.1.
- 08:59 PM Revision d8bb478e (git): * 2014-04-24
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:59 PM Revision 2dca886a (git): * parse.y (dsym_node_gen): like r45492, call rb_gc_resurrect().
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:06 PM Feature #9770: Etc.uname
- Should I implement an emulation for Windows?
Which of an emulation or NotImplementedError do you think as desiable, akr-san? -
02:16 PM Feature #9770 (Closed): Etc.uname
- How about Etc.uname method to call the uname(2) system call?
```
% ./ruby -rpp -retc -e 'pp Etc.uname'
{:sysname=>"Linux",
:nodename=>"boron",
:release=>"2.6.18-6-xen-686",
:version=>"#1 SMP Thu Nov 5 19:54:42 UTC 2009",
:ma... -
11:53 AM Revision 708e1bd4 (git): * ext/etc/extconf.rb: Build ext/etc unconditionally.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:34 AM Bug #9762 (Closed): keywork argument do not work in some situation
-
06:05 AM Revision 474e9869 (git): skip on SEEK_HOLE
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:31 AM Revision 53a91a00 (git): add uname -r
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:25 AM Revision 297fe29f (git): * file.c (statfs_fsid): remove statfs.f_fsid because it doesn't return
- meaningful value portably. http://togetter.com/li/658517
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:01 AM Revision 62713618 (git): travis doesn't have /proc/version_signature
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:48 AM Revision 9d4a89e1 (git): show versions
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:31 AM Revision 1e67cd2d (git): fix to rescue when test-all runs without installation
- https://api.travis-ci.org/jobs/23564212/log.txt?deansi=true
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:31 AM Revision c5fef273 (git): file.c: unpack in binary
- * file.c (statfs_fsid): convert with rb_integer_unpack.
* configure.in: fsid_t is no longer used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:14 AM Revision 3254b0f3 (git): win32ole.c: suppress warnings
- * ext/win32ole/win32ole.c (ole_excepinfo2msg, lcid_installed):
cast to suppress warnings, SCODE varies on cygwin and mingw.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:53 AM Revision 73706907 (git): check Linux version
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:26 AM Revision cf72be26 (git): fix typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:51 AM Revision 9036b58c (git): win32ole.c: fix format
- * ext/win32ole/win32ole.c (ole_excepinfo2msg, lcid_installed): fix
format to suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:47 AM Revision 6f477bcc (git): * configure.in, win32/Makefile.sub: fsid_t is defined in include/ruby/win32.h.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:41 AM Revision d4c6c4c8 (git): check whther ext4+ or not
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:32 AM Revision 0f69c184 (git): file.c: fsid_t may not be defined
- * configure.in: check if fsid_t is defined.
* file.c (statfs_fsid): fsid_t may not be defined, assume long in
that case.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:03 AM Revision 2c14872b (git): stringio.c: use rb_str_append other than ASCII-8BIT
- * ext/stringio/stringio.c (strio_write): use rb_str_append to
reuse coderange bits other than ASCII-8BIT, and keep
taintedness. [ruby-dev:48118] [Bug #9769]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45677 b2dd03c8-39d4-4d8f... -
02:03 AM Revision 3ec18aa2 (git): stringio.c: move GC guard
- * ext/stringio/stringio.c (strio_write): move GC guard after the
last using position.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:03 AM Revision 43326170 (git): ruby-additional.el: ruby-encode-unicode
- * misc/ruby-additional.el (ruby-encode-unicode): convert non-ascii
string to \\u{} form.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
04/22/2014
-
06:44 PM Revision 506c6f52 (git): Revert r45670 "stringio.c: use rb_str_append"
- It breaks test-all.
http://u64b.rubyci.org/~chkbuild/ruby-trunk/log/20140422T143301Z.diff.html.gz
rb_str_conv_enc() return original string for example when
from ASCII-8BIT to UTF-8 with non ASCII strings
git-svn-id: svn+ssh://ci.ruby-l... -
03:57 PM Feature #9704: Refinements as files instead of modules
- I realized there is a downside to this approach.
~~~
# a.rb
require 'b'
class String
def ab
self + "a" + b
end
end
# b.rb
class String
def b
self + "b"
end
end
~~~
So what would happen with `b.rb` wh... -
02:39 AM Feature #9704: Refinements as files instead of modules
- Just FYI, I created this project https://github.com/rubyworks/reusing. I don't much care for what I had to do to implement it, i.e.
* it's not possible to simply override `#using`
* had to use my finder gem to find libraries
* had t... - 03:45 PM Revision 7804656e (git): * 2014-04-23
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:45 PM Revision 86dc863b (git): * win32/win32.c, include/ruby/win32.h (ustatfs): implementation of
- statfs(2) clone. [EXPERIMENTAL]
* file.c (rb_io_statfs): use above function.
* configure.in, win32/Makefile.sub (struct statfs): available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:57 PM Revision 900ede40 (git): * file.c (rb_io_stafs): use statfs(2) if fstatfs(2) is unavailable.
- * configure.in (fstatfs): check it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:14 PM Bug #9769 (Closed): un-infection in StringIO#write
- Applied in changeset r45670.
----------
stringio.c: use rb_str_append
* ext/stringio/stringio.c (strio_write): use rb_str_append to
reuse coderange bits and keep taintedness.
[ruby-dev:48118] [Bug #9769] -
01:47 PM Bug #9769: un-infection in StringIO#write
- 念のため: このバグ報告はsecurity@ruby-lang.orgに送られていたものですが、中の人たちの判断によりこちらにて議論されることになりました。
-
11:51 AM Bug #9769 (Closed): un-infection in StringIO#write
- StringIO#write において、汚染された文字列を与えても汚染状態が伝播しません。
* 文字列の拡張を伴わない書き込み (こちらは伝播する)
$ ruby -r stringio -e 'str = "abcdefg"; sio = StringIO.new(str); sio << "hijklmn".taint; p str: str.tainted?, sio: sio.tainted?'
{:str=>true, :sio=>false}
... -
02:14 PM Revision a1975817 (git): stringio.c: use rb_str_append
- * ext/stringio/stringio.c (strio_write): use rb_str_append to
reuse coderange bits and keep taintedness.
[ruby-dev:48118] [Bug #9769]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:01 PM Revision c143b9a0 (git): file.c: suppress a warning
- * file.c (statfs_fsid): use union to suppress strict-aliasing
warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:19 PM Revision 026b0b94 (git): * file.c (rb_io_statfs): need to define even if the system doesn't have
- fstatfs(2).
* test/ruby/test_file.rb (TestFile#test_statfs): skip if IO#stafs is not
implemented.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:57 PM Revision 3b1862e6 (git): define File::Statfs only if HAVE_STRUCT_STATFS
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:55 PM Revision 82b69180 (git): check statfs and skip
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:46 PM Bug #9762: keywork argument do not work in some situation
- Yes!
Thank you. -
12:32 PM Revision 482dd826 (git): fix a typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:46 AM Revision 856dc678 (git): refix the point is seek
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:59 AM Revision e3a57e06 (git): fix typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:37 AM Revision d863be7c (git): show what filesystem it is on failure
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:35 AM Revision 035a4e7d (git): * file.c: newly added a class File::Statfs. (experimental)
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:57 AM Feature #9768 (Assigned): Method that is visible only within a certain module/class
- Some frameworks/libraries monkeypatch their own methods on Ruby core classes like `String`, `Hash`, `Array`, etc., and that is often causing problems/concerns of name conflict.
Seeing that these custom methods are used only in the con... -
09:52 AM Revision e419c88b (git): [DOC]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:47 AM Bug #9767 (Closed): test-all parallel fails if a test is skipped after raise
- DL::TestFunc#test_sinf is skipped after raise on mingw ruby.
But it causes Mashal.load failure due to undefined class/module
DL::DLError when doing test-all parallel and test-all doesn't
complete.
We create new MiniTest::Skip obj... -
07:36 AM Bug #7987 (Closed): Method#parameters should consider a prepended or refined methd
- Seems fixed already.
-
03:56 AM Bug #9766 (Assigned): Add force_encoding option to csv
- I'd rather think it a bug.
-
02:37 AM Feature #9711: Remove test-unit and minitest from stdlib.
- We discussed about this on [[ruby:DevelopersMeeting20140418Japan]]:
- we use test/unit (with minitest) for our test-all -> we can solve it easy
- minitest4 conflicts with minitest5/minitest.gem
## Conclusion
- hsbt separates te... -
12:44 AM Feature #9711: Remove test-unit and minitest from stdlib.
- I agree to do this :+1:
-
02:27 AM Revision c37ac198 (git): test_io.rb: test with holes
- * test/ruby/test_io.rb (test_seek, test_seek_symwhence): add tests
of SEEK_DATA and SEEK_HOLE with holes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:38 AM Revision 28747c67 (git): enable test-all and add -j2 on travis-ci
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:07 AM Revision eb85645a (git): Add to check ruby_2_0_0 and ruby_2_1 (and ruby_2_2) branch
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
04/21/2014
-
11:37 PM Revision d32ad2ef (git): * gc.c (objspace_malloc_increase): don't cause GC by malloc_increase
- when memop type is MEMOP_TYPE_REALLOC.
GC at realloc is not well maintained.
We need a time to make it safe.
[ruby-dev:48117]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:56 PM Feature #8429: Options requests in net/http should be able to accept a response body
- Can we get an update on this? Not sure why it's just sitting here...
-
09:54 PM Revision 5890cb9d (git): gc.c: full mark after malloc/realloc
- * gc.c (objspace_malloc_increase): run full mark if 0x04 bit is
set in ruby_gc_stress. [ruby-core:62103] [Feature #9761]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:53 PM Feature #9761 (Closed): TRY_WITH_GC with ruby_gc_stress
- Applied in changeset r45653.
----------
gc.c: GC.stress after realloc
* gc.c (objspace_malloc_increase): run GC after realloc not only
malloc and calloc by GC.stress. [ruby-core:62103] [Feature #9761] -
03:23 PM Feature #9761 (Open): TRY_WITH_GC with ruby_gc_stress
- Nobuyoshi Nakada wrote:
> Seems `objspace_malloc_increase()` already runs GC after `xmalloc` and `xcalloc` if `ruby_gc_stress` is set.
> ...
Sorry for my poor code reading...
It is enough to add a case of `xrealloc` for my concern, re... -
01:05 AM Feature #9761 (Feedback): TRY_WITH_GC with ruby_gc_stress
- Seems `objspace_malloc_increase()` already runs GC after `xmalloc` and `xcalloc` if `ruby_gc_stress` is set.
You may want it to run after `xrealloc` too?
Or to run full marking? - 09:53 PM Revision 2abb976d (git): * 2014-04-22
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:53 PM Revision a633ed28 (git): gc.c: GC.stress after realloc
- * gc.c (objspace_malloc_increase): run GC after realloc not only
malloc and calloc by GC.stress. [ruby-core:62103] [Feature #9761]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:03 PM Bug #9764: Date and DateTime strptime and strftime not supporting proper Week Numbering for Monday vs Sunday as start day and %G causes ignore of all other format arguments
- @Tadayoshi funaba,
I think i understand part of the issue now related to some of the confusion.
Date.Comercial() allows you to provide the Year and Week number to get a date. It was the expectation that `puts Date.strptime('2014 0... -
04:56 PM Bug #9764: Date and DateTime strptime and strftime not supporting proper Week Numbering for Monday vs Sunday as start day and %G causes ignore of all other format arguments
- Okay great. Thank you for the quick and detailed response. This seems to be a documentation confusion as we had about 10 people trying this out over a few days and all were confused based on what was in the documentation and the resul...
-
11:26 AM Bug #9764 (Rejected): Date and DateTime strptime and strftime not supporting proper Week Numbering for Monday vs Sunday as start day and %G causes ignore of all other format arguments
-
11:24 AM Bug #9764: Date and DateTime strptime and strftime not supporting proper Week Numbering for Monday vs Sunday as start day and %G causes ignore of all other format arguments
- ~~~
first of all, you have to know there are three systems of week.
the following thee are proper/typical combinatins.
%G %V %u # (I)
%Y %W %u # (E)
%Y %U %w # (R)
strptime try to find other ways, but basically supoorts the a... -
10:48 AM Bug #9764 (Assigned): Date and DateTime strptime and strftime not supporting proper Week Numbering for Monday vs Sunday as start day and %G causes ignore of all other format arguments
-
04:38 AM Bug #9764: Date and DateTime strptime and strftime not supporting proper Week Numbering for Monday vs Sunday as start day and %G causes ignore of all other format arguments
- Same issue with: ruby 2.0.0p451 (2014-02-24 revision 45167) [x86_64-darwin12.5.0]
-
04:25 AM Bug #9764 (Rejected): Date and DateTime strptime and strftime not supporting proper Week Numbering for Monday vs Sunday as start day and %G causes ignore of all other format arguments
- Date and DateTime strftime and strptime are not supporting %U (0-53 Week Numbers as defined in strptime):
http://www.ruby-doc.org/stdlib-2.1.1/libdoc/date/rdoc/Date.html#method-i-strftime
Some examples that are not producing expecte... -
10:16 AM Revision a72bf51b (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:15 AM Revision df645bf7 (git): * string.c (rb_str_coderange_scan_restartable): coderange is always
- ENC_CODERANGE_VALID if the string is ASCII-8BIT and already has a non
ASCII character.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:15 AM Revision 9f2ddef2 (git): * string.c (coderange_scan): remove useless condtion `p < e` after
- search_nonascii.
* string.c (rb_str_coderange_scan_restartable): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:14 AM Revision c71019f8 (git): * ext/-test-/string/coderange.c: add Bug::String.new#coderange_scan
- to explicitly scan coderange.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:14 AM Revision 8377e9e4 (git): * string.c (coderange_scan): remove unused logic.
- * string.c (rb_str_coderange_scan_restartable): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:31 AM Revision 8581ce32 (git): string.c: rename rb_str_splice as rb_str_update
- * string.c (rb_str_update): rename rb_str_splice as exported name
rb_str_update, and make the former an alias macro of the latter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:39 AM Bug #9766: Add force_encoding option to csv
- The method to reproduce this should be `CSV.generate` in the code blocks.
I wish it could be merged in all the versions of ruby. -
07:37 AM Bug #9766 (Closed): Add force_encoding option to csv
- Hi there,
I have a trouble when I use csv#generate with encoding 'Shift-JIS' option. I investigated it for a long time and found it is caused by compatibility within "UTF-8" and "Shift-JIS". Since "Shift-JIS" can be converted to UTF-8... -
05:11 AM Bug #9765 (Closed): StringIO#putc is unnaware of encoding
- Applied in changeset r45646.
----------
stringio.c: non-ascii encoding
* ext/stringio/stringio.c (strio_putc): fix for non-ascii
encoding, like as IO#putc. [ruby-dev:48114] [Bug #9765] -
05:06 AM Bug #9765 (Closed): StringIO#putc is unnaware of encoding
- `IO#putc`はエンコーディングを意識しますが、`StringIO#putc`がしていません。
~~~ruby
IO.pipe{|r,w| w.putc("\u{3042}"); w.putc(0x3044); w.close; p r.read}
# => "あD"
require 'stringio'
sio = StringIO.new(""); sio.putc("\u{3042}"); sio.putc(0x3044); p sio.st... -
05:11 AM Revision 90e393b3 (git): stringio.c: non-ascii encoding
- * ext/stringio/stringio.c (strio_putc): fix for non-ascii
encoding, like as IO#putc. [ruby-dev:48114] [Bug #9765]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:39 AM Revision 862618d2 (git): * 2014-04-21
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:39 AM Revision 6f3bd427 (git): gc.c: fixnum GC stress
- * gc.c (garbage_collect_body): name magic numbers.
* gc.c (gc_stress_set): GC.stress accepts not only boolean but
also Fixnum.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
04/20/2014
-
10:31 AM Revision dce4bdf1 (git): ChangeLog: fix typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:41 AM Bug #9763 (Third Party's Issue): Windows上のirbで「金」と入力できない
- Windowsのirb上で日本語の入力は基本的にはできるのですが
「金」と入力すると何も入力されず、次に全角文字を入力した時点で2文字同時に表示されます。
「金」に続いて半角文字を入力すると別の文字になってしまうようです。 -
04:55 AM Bug #9762: keywork argument do not work in some situation
- felix chang wrote:
> I dont know this is an issue or not. Here is my code.
> ...
How will it "not work"? Are you calling it properly?
I'd change the first line of #sliding to:
~~~
return to_enum(__method__, window, {circle: circ... -
03:59 AM Bug #9762 (Rejected): keywork argument do not work in some situation
- I dont know this is an issue or not. Here is my code.
`
class String
def last(size)
self[-size..-1]
end
# The behavior of slideing is similar to Array#each_cons
# It's very use for most biological sequence analysis,
... -
03:58 AM Bug #9646 (Closed): Infinite loop at Hash#each
- Applied in changeset r45642.
----------
* st.c (st_foreach_check): chnage start point of search at check
from top to current. [ruby-dev:48047] [Bug #9646] -
03:58 AM Bug #9729 (Closed): Hash#each が無限ループする
- Applied in changeset r45642.
----------
* st.c (st_foreach_check): chnage start point of search at check
from top to current. [ruby-dev:48047] [Bug #9646] - 03:58 AM Revision c94cb8b8 (git): * st.c (st_foreach_check): chnage start point of search at check
- from top to current. [ruby-dev:48047] [Bug #9646]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:45 AM Feature #9761 (Open): TRY_WITH_GC with ruby_gc_stress
- I have written but I have not been able to avoid both temporary assignment and duplication of garbage_collect_with_gvl().
-
12:56 AM Feature #9761 (Feedback): TRY_WITH_GC with ruby_gc_stress
- Patches are welcome.
-
12:49 AM Feature #9761 (Closed): TRY_WITH_GC with ruby_gc_stress
- I hope `TRY_WITH_GC()` may use `ruby_gc_stress` value.
Currently, `ruby_gc_stress` doesn't affect simple `xmalloc()`/`xrealloc()`/`xcalloc()`.
It is usefull to make these functions under gc-stress.
For example, #9657 is difficult to... -
12:34 AM Bug #9757: Segfault in 2.1.1 from RSpec expect_any_instance_of
- Set the category to "doc" by mistake.
-
12:12 AM Revision 24252ff4 (git): win32ole.c: suppress warnings
- * ext/win32ole/win32ole.c: use LONG instead of long to suppress
incompatible pointer warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
04/19/2014
-
11:41 PM Bug #9760 (Closed): mkmf does not allow for linking against custom libraries when a system library is present
- Applied in changeset r45640.
----------
mkmf.rb: prefer $LIBPATH than $DEFLIBPATH
* lib/mkmf.rb (`link_command`, `libpathflag`, `create_makefile`): prefer
user specified `$LIBPATH` than `$DEFLIBPATH`. [ruby-core:62100]
[rub... -
10:15 PM Bug #9760 (Open): mkmf does not allow for linking against custom libraries when a system library is present
- Hi,
Hopefully the title is not confusing, but the short story is that mkmf outputs a makefile that first searches the default lib path before searching any user provided lib paths. This is not an issue until one tries to link against ... -
11:41 PM Revision 69ce2b70 (git): mkmf.rb: prefer $LIBPATH than $DEFLIBPATH
- * lib/mkmf.rb (link_command, libpathflag, create_makefile): prefer
user specified `$LIBPATH` than `$DEFLIBPATH`. [ruby-core:62100]
[ruby-trunk - Bug #9760]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45640 b2dd03c8-39d4-4d8f-... -
09:28 PM Bug #9518: Objects in large arrays are leaked
- Thanks all! r45638
-
09:24 PM Bug #9518 (Closed): Objects in large arrays are leaked - Applied in changeset r45638.
----------
gc.c: drop special case for big hash/array
* gc.c (rb_gc_writebarrier): drop special case for big hash/array
[Bug #9518] - 09:24 PM Revision 6209b66b (git): * 2014-04-20
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:24 PM Revision 1d2d053b (git): gc.c: drop special case for big hash/array
- * gc.c (rb_gc_writebarrier): drop special case for big hash/array
[Bug #9518]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:11 PM Bug #9759: [TracePoint API] return event missing when raising exception
- Also, I'm not sure whether those `[:b_call, :create]` and `[:b_return, :create]` events should be emitted at all. The block is run when defining the method, not when running it... Right?
-
12:08 PM Bug #9759 (Closed): [TracePoint API] return event missing when raising exception
- I think I found another bug in the TracePoint API, which seems related to #9321. In this case, the failing event is a return event from a method inside of which the exception was generated.
I wrote a failing test case, adapting the co... -
11:36 AM Bug #8358: TestSprintf#test_float test failure
- I found SSE2 is not enabled on mingw because of target='i386-pc-mingw32'.
Here is a patch.
~~~patch
diff --git a/configure.in b/configure.in
index 17ed3ed..cc684b5 100644
--- a/configure.in
+++ b/configure.in
@@ -860,7 +860,7 ... -
07:08 AM Bug #9726 (Closed): Incorrect Proc parsing
- Accidentally reopened.
close. -
06:50 AM Bug #9726 (Open): Incorrect Proc parsing
-
06:38 AM Bug #9726 (Closed): Incorrect Proc parsing
- Applied in changeset r45637.
----------
parse.y: allow parenthesed do-block in cmdarg
* parse.y (primary): flush cmdarg flags inside left-paren in a
command argument, to allow parenthesed do-block as an argument
without arguments p... -
06:48 AM Bug #8716: segmation fault 正規表現で大量のグループを利用時
- キャプチャグループの数を `ONIG_MAX_CAPTURE_GROUP_NUM` (32767) 個に制限することにしました。
それに合わせて、`ONIGERR_TOO_MANY_CAPTURE_GROUPS` というエラーコードを新設することにしました。
https://github.com/k-takata/Onigmo/commit/c7cda4ed5676167b0d01bb5555724f6164fbdb13
`tmp/ruby-2.0.x` ブランチ... -
06:38 AM Revision c5013452 (git): parse.y: allow parenthesed do-block in cmdarg
- * parse.y (primary): flush cmdarg flags inside left-paren in a
command argument, to allow parenthesed do-block as an argument
without arguments parentheses. [ruby-core:61950] [Bug #9726]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/... -
01:11 AM Revision 95de2b00 (git): * internal.h (struct RBignum): Use size_t for len.
- * include/ruby/intern.h (rb_big_new): Use size_t instead of long to
specify the size of bignum.
(rb_big_resize): Ditto.
* bignum.c: Follow above changes.
* rational.c: Follow above changes.
* marshal.c: Follow above changes.
gi...
04/18/2014
-
09:48 PM Bug #9757 (Feedback): Segfault in 2.1.1 from RSpec expect_any_instance_of
- Seems like stack overflow.
Could you try with the trunk? -
03:38 PM Bug #9757 (Closed): Segfault in 2.1.1 from RSpec expect_any_instance_of
- The following spec causes a segfault for me in ruby 2.1.1 on OS X 10.9.2:
~~~
class A
def a
'a'
end
end
class B
def b
'b'
end
end
describe 'segfault' do
it 'should make unused recorders' do
expec... -
08:47 PM Feature #9758 (Closed): Allow setting SSLContext#extra_chain_cert in Net::HTTP
- Currently, `Net::HTTP` can only send a single SSL certificate when it
establishes a connection. Some use-cases involve sending an entire
certificate chain to the destination; for this, `SSLContext` supports
assigning to `#extra_chain_... -
03:51 PM Revision 8233f969 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:46 PM Revision a6024cdc (git): * numeric.c (rb_num2long): Returns a long.
- (rb_num2ulong): Returns a unsigned long.
* bignum.c (rb_big2long): Returns a long.
(rb_big2ulong): Returns a unsigned long.
* include/ruby/intern.h: Follow above changes.
* include/ruby/ruby.h: Follow above changes.
(rb_num2long_i... -
03:17 PM Revision 07cad436 (git): string.c: SHARABLE_SUBSTRING_P
- * string.c (SHARABLE_SUBSTRING_P): predicate if substring can be
shared with the original string. true if just at the end of the
original string, for the time being. all substring will be able to
be shared in the future.
git-svn... -
03:11 PM Revision 398abd20 (git): fix typo
- * NEWS, README.EXT: fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:09 PM Revision 47e9f5e9 (git): * 2014-04-19
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:09 PM Revision c23a9376 (git): time.c: fix non-terminated string
- * time.c (month_arg, time_strftime): RSTRING_PTR() may not be
NUL-terminated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:27 PM Revision 5b54488e (git): parse.y: shared substring of source
- * parse.y (lex_get_str): return shared sub-string of entire source
string instead of a partial copy.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:48 PM Revision 609a6eba (git): string.c: share middle of a string
- * string.c (rb_str_new_frozen): consider the shared string at
middle.
* string.c (rb_str_subseq, rb_str_substr, str_byte_substr): share
middle of a string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45628 b2dd03c8-39d4-4d8f-9... -
12:42 PM Revision 95013cd5 (git): README.EXT: about string termination
- * README.EXT (Appendix B): add RSTRING_PTR and RSTRING_LEN.
and NULL-termination by StringValueCStr.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:46 AM Revision 6a8d0049 (git): ossl_x509name.c: null-terminate field name
- * ext/openssl/ossl_x509name.c (ossl_x509name_add_entry): field
name of X509_NAME_add_entry_by_txt() must be NULL-terminated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:46 AM Revision 549e0e48 (git): zlib.c: return unshared string
- * ext/zlib/zlib.c (zstream_shift_buffer): create new copied string
since it cannot be shared ever.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:57 AM Bug #9518: Objects in large arrays are leaked
- Sorry for such a late response.
I agree.
At the first time, I was introduled for reducing minor GC's long time
by rescan of huge size array.
But in real case, if there are huge size array, there may be other huge data too.
No ma... -
09:22 AM Feature #9755 (Assigned): Thread::Backtrace::Location#defined_class
- I'd like Thread::Backtrace::Location#defined_class.
```ruby
class X
def foo
p caller_locations.first.defined_class #=> Y
end
end
class Y
def bar
X.new.foo
end
end
Y.new.bar
```
nobu created a patch:
... -
08:27 AM Revision 39fe6aa3 (git): string.c: revert r45622
- * string.c (str_buf_cat): revert r45622. broken data can be added
later.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:17 AM Revision 46c37499 (git): string.c: r45621
- * string.c (str_buf_cat): revert r45621. this function does not
scan appended data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:00 AM Revision af2228a0 (git): string.c: don't clear coderange at expanding
- * string.c (rb_str_modify_expand): like as str_modify_keep_cr,
don't clear coderange unless broken.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:55 AM Revision 0ee6aff8 (git): string.c: keep code range
- * string.c (str_buf_cat): keep code range if possible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:43 AM Revision fb1b9a78 (git): * string.c: use uintptr_t instead of VALUE because they are not ruby
- object.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:43 AM Revision cbab67a1 (git): * string.c: check str_strlen's argument, and add comment or
- use NULL if simply it uses str's enc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:43 AM Revision c37ac7ba (git): * string.c (str_strlen): use enc_strlen if the coderange is known.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:42 AM Revision 0ab9abe0 (git): * string.c (enc_strlen): move UTF-8 optimization from str_strlen to
- enc_strlen.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
04/17/2014
-
11:50 PM Bug #9752 (Closed): r45598 causes Errno::EINVAL on Solaris
- Applied in changeset r45615.
----------
configure.in: rb_cv_getcwd_malloc
* configure.in (rb_cv_getcwd_malloc): check if getcwd allocates
buffer if NULL is given [ruby-core:62072] [Bug #9752] -
02:30 PM Bug #9752: r45598 causes Errno::EINVAL on Solaris
- Is this a Solaris issue specifically? Or is this broken on other commercial platforms as well, like AIX and HP-UX?
-
09:16 AM Bug #9752 (Closed): r45598 causes Errno::EINVAL on Solaris
- On Solaris, after r45598, the following error occurs.
- 11:50 PM Revision b97de74e (git): * 2014-04-18
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:50 PM Revision f8d64537 (git): configure.in: rb_cv_getcwd_malloc
- * configure.in (rb_cv_getcwd_malloc): check if getcwd allocates
buffer if NULL is given [ruby-core:62072] [Bug #9752]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:46 PM Feature #7240: Inheritable #included/#extended Hooks For Modules
- I'm a relatively new Ruby programmer so I may have missed some of the nuances, but I have written http://rubygems.org/gems/extended_include that I *believe* satisfies the original posting requirements.
In a nutshell:
~~~
require '... -
11:25 PM Feature #8895: Destructuring Assignment for Hash
- This is what I'm imagining:
~~~ruby
a, *b, c:, d: 'd', **e = [1, {c: 2}]
a == 1
b == []
c == 2
d == 'd'
e == {} # holds any extras just like `b`
~~~
Where an error would be thrown if the hash didn't have the given key, and... -
07:12 PM Bug #9754: Ruby refuses to run source with Mutex locks though there is no hazard..
- A Mutex is not reentrant.
This deadlocks:
m = Mutex.new
m.lock
m.synchronize {}
So does this:
m = Mutex.new
m.synchronize {m.synchronize {}}
But Monitor is reentrant, so the following does not deadlo... -
10:48 AM Bug #9754 (Closed): Ruby refuses to run source with Mutex locks though there is no hazard..
- I put this up on a forum for a week in case there was something I didn't know about Ruby Mutexes ..
but no one commented. So apologies in advance if some discussion is needed.
In this code, the locks are used as latches, so there is ... -
10:43 AM Bug #9753 (Rejected): UNIX Socket doesn't handle multiple clients
- `data_sock` is overwritten by the next loop.
You have to pass it to worker threads as a block parameter too. -
10:31 AM Bug #9753 (Rejected): UNIX Socket doesn't handle multiple clients
- When a first client session is still active, a second client session starting then closing its connection causes the first session to hang.
This can be reproduced every time by using the included source files and these directions:
... -
08:24 AM Revision 2254fc65 (git): ruby.c: drop older cygwin
- * ruby.c (push_include_cygwin): drop older cygwin support.
* ruby.c (ruby_init_loadpath_safe): ditto, and always use String as
libpath buffer on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45614 b2dd03c8-39d4-4d8f-98ff... -
08:24 AM Revision be116626 (git): gc.c: suppress a warning
- * gc.c (get_envparam_size): suppress a warning by char-subscripts.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:54 AM Bug #9321: rb_mod_const_missing does not generate a c-return event
- Thanks Koichi, appreciated. :)
-
07:31 AM Revision 0476b872 (git): * prelude.rb: [DOC] Update Thread::exclusive docs by @stevenharman.
- [ci skip][fix GH-589]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:53 AM Revision cd7aafa8 (git): * template/opt_sc.inc.tmpl: [DOC] Fix typo in comment by @imasahiro [ci skip][fix GH-595]
- * template/optinsn.inc.tmpl: ditto.
* template/optunifs.inc.tmpl: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:23 AM Revision a0209e48 (git): string.c: argument check
- * string.c (rb_str_cat_cstr): check the argument as other `_cstr`
functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:22 AM Revision 37dffb59 (git): string.c: rb_str_cat_cstr
- * string.c (rb_str_cat): make non-buf version main.
* string.c (rb_str_cat_cstr): rename from rb_str_cat2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:11 AM Bug #9751 (Closed): Process.wait does not work correctly in a thread
- The following code fails under Ruby 1.9+, used to work on 1.8 with green threads
```
def test
if pid = fork
puts "child pid is #{pid} waiting ..."
begin
Process.wait(pid)
puts "child exited"
rescue => ... -
02:41 AM Revision 3d69324b (git): configure.in: FUNC_MINIMIZED
- * configure.in (RUBY_FUNC_ATTRIBUTE): escape double quotes in
attribute.
* configure.in (FUNC_MINIMIZED): attribute to minimize function
body.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45608 b2dd03c8-39d4-4d8f-98ff-823fe69b... -
02:41 AM Revision 3784395b (git): string.c: alias of rb_str_buf_cat and rb_str_buf_cat2
- * string.c (rb_str_cat, rb_str_cat2): make aliases of
rb_str_buf_cat and rb_str_buf_cat2 respectively.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:41 AM Revision df662292 (git): string.c: reduce duplicated code
- * string.c (rb_str_cat, rb_str_cat2): reduce duplicated code, they
are same as rb_str_buf_cat and rb_str_buf_cat2 respectively now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:04 AM Bug #9748 (Closed): FileUtils.cp always preserve the permission of original files
- Applied in changeset r45604.
----------
fileutils.rb: [DOC] update rdoc
* lib/fileutils.rb (FileUtils#copy_entry): update rdoc about
preserve option and permissions, following r31123.
[ruby-core:62065] [Bug #9748] -
01:00 AM Bug #9748 (Open): FileUtils.cp always preserve the permission of original files
- Thank you, I'll fix the document.
-
12:02 AM Bug #9748: FileUtils.cp always preserve the permission of original files
- Thanks,Nobuyoshi. I wondered that also. However, If so, the behavior is different from ruby 2.1.1's document. Also, :preserve=>true or :perserve=>false makes no difference. Is it expected?
- 01:04 AM Revision 6239e99d (git): * 2014-04-17
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:03 AM Revision 52ca9088 (git): fileutils.rb: [DOC] update rdoc
- * lib/fileutils.rb (FileUtils#copy_entry): update rdoc about
preserve option and permissions, following r31123.
[ruby-core:62065] [Bug #9748]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:40 AM Bug #8344: Status of Psych and Syck
- On Mon, Mar 24, 2014 at 07:31:31AM +0000, e@zzak.io wrote:
> Issue #8344 has been updated by Zachary Scott.
>
> Status changed from Closed to Assigned
> Target version changed from 2.1.0 to current: 2.2.0
>
> -------------------...