Project

General

Profile

Activity

From 07/15/2014 to 07/21/2014

07/21/2014

11:53 PM Bug #10075: URI#join needs documentation of its behavior
On Mon, Jul 21, 2014 at 10:40 AM, <[email protected]> wrote:

> Here's my thoughts on this: every other Ruby method ...
avdi (Avdi Grimm)
02:40 PM Bug #10075: URI#join needs documentation of its behavior
Eric Hodel wrote:
> I have changed this to a doc bug, the behavior does not surprise me, I expect it to behave as it...
jxf (John Feminella)
05:02 PM Bug #10080: Functions marked as "static inline" are not inlined by gcc
Can you show a performance difference with always_inline on those
functions?

Inlining is not always faster, it b...
normalperson (Eric Wong)
04:50 PM Bug #10080 (Rejected): Functions marked as "static inline" are not inlined by gcc
Since GCC 4.8.3, some static inline functions (such as rb_call0) are not
inlined in the generated machine code. This...
gustavo.pedrosa (Gustavo Frederico Temple Pedrosa)
04:56 PM Bug #10079 (Closed): Warnings in definition of macro 'PACKED_STRUCT'
Applied in changeset r46894.
----------
rb_io_buffer_t: fix packing on gcc
* include/ruby/io.h (rb_io_buffer_t): fi...
Anonymous
04:19 PM Bug #10079 (Closed): Warnings in definition of macro 'PACKED_STRUCT'
After the commit db433dc39d07449184a908d417919e3de8b70405, the building shows many warnings like below:
~~~
compi...
gustavo.pedrosa (Gustavo Frederico Temple Pedrosa)
04:56 PM Revision 30f008a8 (git): * 2014-07-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:56 PM Revision 8cb5f8be (git): rb_io_buffer_t: fix packing on gcc
* include/ruby/io.h (rb_io_buffer_t): fix packing on gcc
r46892 caused packing to be a no-op on gcc (4.7.2-5, Debia...
Eric Wong
04:10 PM Bug #10078 (Closed): String#count() returns wrong count under specific conditions
以下の条件の場合、String#countが誤った文字数を返します。
* 文字コードがWindows-31J (文字コード体系が違うせいか、UTF_8, ISO2022_JP, EUC_JPでは再現せず)
* countの引数...
nazy (Hiroki Najima)
01:23 PM Feature #8257: Exception#cause to carry originating exception along with new one
(2014/07/21 1:50), [email protected] wrote:
> I agree with Benoit that the cause exception should be reflected in...
ko1 (Koichi Sasada)
01:11 PM Feature #10038: Extend ObjectSpace.dump to expose buffer addresses for String and Array
(2014/07/17 23:52), [email protected] wrote:
> I would still prefer an MRI-specific namespace for features only M...
ko1 (Koichi Sasada)
12:13 PM Revision 1fe71722 (git): Makefile.sub: no PACKED_STRUCT on old VC
* win32/Makefile.sub (PACKED_STRUCT): __pragma extension is
available since VC9.
git-svn-id: svn+ssh://ci.ruby-lan...
nobu (Nobuyoshi Nakada)
08:36 AM Bug #10019: segmentation fault/buffer overrun in pack.c (encodes)
Will Wood wrote:
> d:/ruby-2.1.2-i386-mingw32/lib/ruby/gems/2.1.0/gems/aws-sdk-1.48.1/lib/aws/core/signers/s3.rb:5...
thoger (Tomas Hoger)
07:04 AM Revision db433dc3 (git): ruby/io.h: fix rb_io_buffer_t
* include/ruby/io.h (rb_io_buffer_t): fix usage of PACKED_STRUCT().
it must surround the whole declaration on VC.
...
nobu (Nobuyoshi Nakada)
06:55 AM Revision 9d3890ab (git): optparse.rb: getopts message improvement
* lib/optparse.rb (getopts): print default values and descriptions
in the help message. [fix GH-676]
git-svn-id: ...
nobu (Nobuyoshi Nakada)
06:29 AM Revision fb8f66cf (git): test/rake: fix tests under test-all
* test/rake/test_rake_application.rb (test_display_exception_details):
`RbConfig::CONFIG["prefix"]` can be the root...
nobu (Nobuyoshi Nakada)
03:42 AM Feature #10040: `%d` and `%t` shorthands for `Date.new(*args)` and `Time.new(*args)`
`Time.[]` is better?
~~~ruby
class Class
alias [] new
end
Time[2014, 7, 20, 12, 42, 24]
~~~
nobu (Nobuyoshi Nakada)
02:55 AM Feature #10077 (Closed): [PATCH] Implement Matrix#row_merge and Matrix#column_merge
Merge matrices horizontally and vertically.
It is useful and important when we handle linear equations, statistic...
gogotanaka (Kazuki Tanaka)

07/20/2014

11:36 PM Bug #10075: URI#join needs documentation of its behavior
Eric Hodel wrote:
> I have changed this to a doc bug, the behavior does not surprise me, I expect it to behave as it...
phluid61 (Matthew Kerwin)
10:24 PM Bug #10075: URI#join needs documentation of its behavior
I have changed this to a doc bug, the behavior does not surprise me, I expect it to behave as it does. drbrain (Eric Hodel)
10:54 PM Feature #10065: Make `gem env` command output valid YAML
Eric Hodel wrote:
> I don't understand the value of loading the output of `gem env` as YAML when you can query the f...
david_macmahon (David MacMahon)
10:10 PM Feature #10065: Make `gem env` command output valid YAML
I don't understand the value of loading the output of `gem env` as YAML when you can query the fields directly from R... drbrain (Eric Hodel)
10:43 PM Revision 8591da82 (git): * 2014-07-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:42 PM Revision 195f56ab (git): * test/ruby/test_module.rb: Bump up timeout in
test_prepend_visibility_inherited for slow or heavily-loaded
systems or slower-launching impls.
git-svn-id: svn+ss...
headius (Charles Nutter)
08:20 PM Feature #8257: Exception#cause to carry originating exception along with new one
I agree with Benoit that the cause exception should be reflected in the error output, as on the JVM. What are the obj... headius (Charles Nutter)
07:29 PM Bug #9975 (Assigned): irb で Hash を 1.9 記法で記述したときに、キーがキーワードだと syntax error
hsbt (Hiroshi SHIBATA)
07:28 PM Bug #10013 (Assigned): [CSV] Yielding all elements from a row
hsbt (Hiroshi SHIBATA)
07:11 PM Feature #10068 (Assigned): [PATCH] Implement monadic operator for Vector
hsbt (Hiroshi SHIBATA)
07:11 PM Feature #10069 (Assigned): [PATCH] Implement monadic operator for Matrix
hsbt (Hiroshi SHIBATA)
07:11 PM Feature #10070 (Assigned): [PATCH] About comments, fix typo and add info.
Deleted. hsbt (Hiroshi SHIBATA)
07:29 AM Feature #10070: [PATCH] About comments, fix typo and add info.
Sorry... There isn't trashbox icon. gogotanaka (Kazuki Tanaka)
01:03 AM Feature #10070: [PATCH] About comments, fix typo and add info.
There isn't a trashbox icon between the size and your name, after the link? nobu (Nobuyoshi Nakada)
07:10 PM Feature #10072 (Assigned): [PATCH] Implement Vector.basis
hsbt (Hiroshi SHIBATA)
07:09 PM Feature #10073 (Assigned): [PATCH] Implement Laplace expansion for matrix.
hsbt (Hiroshi SHIBATA)
07:09 PM Feature #10074 (Assigned): [PATCH] generalize Vector#cross_product
hsbt (Hiroshi SHIBATA)
06:55 PM Feature #10040: `%d` and `%t` shorthands for `Date.new(*args)` and `Time.new(*args)`
It reads nicely, but these literals could only build Time constants without variables/interpolation, which are rarely... avit (Andrew Vit)
01:10 AM Feature #10040: `%d` and `%t` shorthands for `Date.new(*args)` and `Time.new(*args)`
Isn't `2014_07_18T10_20_30` better than it? nobu (Nobuyoshi Nakada)
01:27 PM Bug #10062: Segfault involving Queue
Hello fred, thank you for your reporting.
At first, could you try to reproduce it with 2.1-head and trunk?
nagachika (Tomoyuki Chikanaga)
01:01 PM Bug #10027: make at windows , err : _rb_file_expand_path_internal already defined in file. obj
It's a different story.
You need to install those libraries by yourself on Windows.
nobu (Nobuyoshi Nakada)
07:38 AM Bug #10027: make at windows , err : _rb_file_expand_path_internal already defined in file. obj
but many libs not found at windows . For example: zlib , readline ...
sevk (kk kk)
07:25 AM Bug #10027: make at windows , err : _rb_file_expand_path_internal already defined in file. obj
successed after install vs6sp6 :
```
ruby 2.1.2p95 (2014-05-08 revision 45877) [i386-mswin32]
```
thanks
sevk (kk kk)
12:28 PM Revision 975dcbbc (git): vm_core.h: fix comment
* vm_core.h (rb_proc_t): fix comment. safe_level is upto 3 now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4...
nobu (Nobuyoshi Nakada)
09:39 AM Bug #10049: RDoc bug for time format
Jared Beck wrote:
> I don't see it at ruby-doc.org, either. Check out lib/time.rb:420 (https://github.com/ruby/ruby...
sawa (Tsuyoshi Sawada)
07:10 AM Bug #10049: RDoc bug for time format

>
> > However, the documentation for Time.strptime says, simply:
> > %Y :: Year with century
>
> Actually, I ...
jaredbeck (Jared Beck)
05:34 AM Revision 44c32c22 (git): rb_proc_t: reduce to 64 bytes from 72 on 64-bit
* vm_core.h (rb_proc_t): reduce to 64 bytes from 72 on 64-bit
This allows rb_proc_t to fit inside a single cache lin...
Eric Wong
04:51 AM Revision 0a2c4b4c (git): rb_econv_t: reduce to 184 bytes from 200 on 64-bit
* transcode.c (rb_econv_t): reduce to 184 bytes from 200 on 64-bit
This allows rb_econv_t to fit inside of three cac...
Eric Wong
04:19 AM Feature #10050 (Closed): [PATCH 0/2] reduce rb_io_t to 192 bytes (from 216) on 64-bit
Applied in changeset r46883.
----------
rb_io_t: shrink from 216 to 200 bytes on 64-bit
* include/ruby/io.h (rb_io_...
Anonymous
04:19 AM Revision eeb05e8c (git): rb_io_buffer_t: pack structure
* include/ruby/io.h (rb_io_buffer_t): pack structure
Reduces rb_io_t from 200 to 192 bytes, allowing rb_io_t to
o...
Eric Wong
04:18 AM Revision 910d081d (git): rb_io_t: shrink from 216 to 200 bytes on 64-bit
* include/ruby/io.h (rb_io_t): shrink to 200 bytes from 216 on 64-bit
This puts us within 8 bytes of being three ca...
Eric Wong
04:18 AM Feature #10034 (Closed): [PATCH] (struct re_pattern_buffer): reduce by cache line
Applied in changeset r46881.
----------
re_pattern_buffer: shrink from 464 to 448 bytes on 64-bit
* include/ruby/on...
Anonymous
04:18 AM Revision cc9e233e (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:18 AM Revision f36315a5 (git): re_pattern_buffer: shrink from 464 to 448 bytes on 64-bit
* include/ruby/oniguruma.h (struct re_pattern_buffer): shrink to 448
bytes from 464 bytes on 64-bit. This breaks t...
Eric Wong
02:56 AM Bug #9931: irb: Really weird behavior for x = "#{x\"}" (ex: irb(main:009:-4))
PS: Check out the pitchfork book's (2009 edition) chapter on strings, especially the part about interpolation on p. 1... jaredbeck (Jared Beck)
02:52 AM Bug #9931: irb: Really weird behavior for x = "#{x\"}" (ex: irb(main:009:-4))
Interesting. Let's try to figure it out!
## The irb prompt
The prompt has two numbers. The first is obviousl...
jaredbeck (Jared Beck)
12:13 AM Revision fcf08015 (git): thread.c: use RUBY_VM_CHECK_INTS
* thread.c (rb_thread_schedule): use dedicated macro
RUBY_VM_CHECK_INTS().
git-svn-id: svn+ssh://ci.ruby-lang.org/...
nobu (Nobuyoshi Nakada)

07/19/2014

11:50 PM Bug #10061 (Closed): Segmentation fault
nobu (Nobuyoshi Nakada)
08:25 PM Bug #10061: Segmentation fault
Nobuyoshi Nakada wrote:
> It's a machine stack overflow, and should be fixed already.
> Try recent versions.
rub...
Anonymous
11:48 PM Bug #10019 (Feedback): segmentation fault/buffer overrun in pack.c (encodes)
Will Wood wrote:
> After pulling the latest code, your fix still causes a seg fault. IMO you're still overrunning th...
nobu (Nobuyoshi Nakada)
04:33 PM Bug #10019: segmentation fault/buffer overrun in pack.c (encodes)
After pulling the latest code, your fix still causes a seg fault. IMO you're still overrunning the buffer.
~~~
d:...
wkwood (Will Wood)
09:08 PM Feature #10069: [PATCH] Implement monadic operator for Matrix
Yukihiro Matsumoto wrote:
> unary operator has nothing related to inject though.
It's kind of my mistake, sorry t...
gogotanaka (Kazuki Tanaka)
11:16 AM Feature #10069: [PATCH] Implement monadic operator for Matrix
As #10068, I like the idea, but unary operator has nothing related to inject though.
Matz.
matz (Yukihiro Matsumoto)
02:08 AM Feature #10069 (Closed): [PATCH] Implement monadic operator for Matrix
Before
```
m = Matrix[[1,2,3], [4,5,6]]

+ m
NoMethodError: undefined method `+@' for Matrix[[1, 2, 3], [4, 5...
gogotanaka (Kazuki Tanaka)
07:20 PM Feature #10058: [PATCH] Fix some coding styles
Marc-Andre Lafortune wrote:
> Yes, ideally. If they can be discussed separately, they should be separate issues.
> ...
gogotanaka (Kazuki Tanaka)
09:44 AM Feature #10058: [PATCH] Fix some coding styles
gogo tanaka wrote:
> Sorry, I'm not familiar with how to use redmine. so you mean I need to make new 2 features?
...
marcandre (Marc-Andre Lafortune)
08:01 AM Feature #10058: [PATCH] Fix some coding styles
@ Mr. Marc-Andre Lafortune
> Even though it can be a pain, please split unrelated patches in different requests.
...
gogotanaka (Kazuki Tanaka)
04:15 PM Feature #10070: [PATCH] About comments, fix typo and add info.
oh.... I'm embarrassed now... thank you for teaching that!
How can I delete this patch from Feature?
gogo.
gogotanaka (Kazuki Tanaka)
03:50 PM Feature #10070: [PATCH] About comments, fix typo and add info.
"iff" is "if and only if", not a typo. nobu (Nobuyoshi Nakada)
07:11 AM Feature #10070 (Closed): [PATCH] About comments, fix typo and add info.
When I read codes, I notice some mistakes about comments.
It have nothing to do with ruby's performance.
If you...
gogotanaka (Kazuki Tanaka)
04:10 PM Revision 2f1ce283 (git): * ext/openssl/ossl.c: use encryptor instead of encrypter in doc.
contributed from @vipulnsward. [fix GH-663]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46879 b2dd03c8-39d4-4d...
hsbt (Hiroshi SHIBATA)
04:01 PM Feature #10072: [PATCH] Implement Vector.basis
```
We can build standard euclidean space easily with this method.
[Vector.basis(3, 0), Vector.basis(3, 1), Vecto...
gogotanaka (Kazuki Tanaka)
07:39 AM Feature #10072 (Closed): [PATCH] Implement Vector.basis
Standard basis vectors are really important in linear algebra.
And we usually need this when we use matrix or vect...
gogotanaka (Kazuki Tanaka)
04:00 PM Revision eb95f194 (git): * ext/thread/thread.c: added nodoc attribute into
'ConditionVariable#marshal_dump' by @vipulnsward
[fix GH-672]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46...
hsbt (Hiroshi SHIBATA)
03:39 PM Feature #10073: [PATCH] Implement Laplace expansion for matrix.
```
For all n * n matrix m, k <- {1, 2, ..., n}.
m.laplace_expansion(k-1, :row) == m.laplace_expansion(k-1, :co...
gogotanaka (Kazuki Tanaka)
07:41 AM Feature #10073 (Closed): [PATCH] Implement Laplace expansion for matrix.
Laplace expansion has really important mathematical property.
We can handle many thing with this (determinant, cro...
gogotanaka (Kazuki Tanaka)
03:32 PM Bug #10039 (Closed): "a+" mode for File.open doesn’t work
Applied in changeset r46876.
----------
io.c: fix rdoc of append mode
* io.c (rb_io_initialize): [DOC] fix rdoc of ...
nobu (Nobuyoshi Nakada)
03:32 PM Bug #10039: "a+" mode for File.open doesn’t work
Append mode doesn't move the pointer at open.
It moves it to the end at each `write(2)`.
nobu (Nobuyoshi Nakada)
05:06 AM Bug #10039: "a+" mode for File.open doesn’t work
Writing with `a+` mode appears to work fine, but the `pos` cursor is not updated until the first IO operation.
...
jaredbeck (Jared Beck)
03:32 PM Revision d177879f (git): * 2014-07-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:32 PM Revision c73c34e2 (git): io.c: fix rdoc of append mode
* io.c (rb_io_initialize): [DOC] fix rdoc of append mode. it does
not move the pointer at open. [ruby-core:63747]...
nobu (Nobuyoshi Nakada)
03:22 PM Feature #10074: [PATCH] generalize Vector#cross_product

Before
```
Vector[1, 0, 0].cross_product Vector[0, 1, 0]
=> Vector[0, 0, 1]
Vector[1, 2].cross_product
...
gogotanaka (Kazuki Tanaka)
07:47 AM Feature #10074 (Closed): [PATCH] generalize Vector#cross_product
Usually We use cross_product in only 3 dimensions.
Sometimes we want to handle cross_product in n-dimensions.
B...
gogotanaka (Kazuki Tanaka)
02:22 PM Bug #10049: RDoc bug for time format
> However, the documentation for Time.strptime says, simply:
> %Y :: Year with century
Actually, I cannot find su...
sawa (Tsuyoshi Sawada)
08:26 AM Bug #10049: RDoc bug for time format
Tsuyoshi Sawada wrote:
> > However, the documentation for Time.strptime says, simply:
> >
> > %Y :: Year with cen...
phluid61 (Matthew Kerwin)
08:13 AM Bug #10049: RDoc bug for time format
> However, the documentation for Time.strptime says, simply:
>
> %Y :: Year with century
I don't understand how...
sawa (Tsuyoshi Sawada)
04:04 AM Bug #10049: RDoc bug for time format
The cited line of documentation:
%Y - Year with century (can be negative, 4 digits at least)
was taken from...
jaredbeck (Jared Beck)
02:01 PM Bug #10076: 2nd thread can't get mutex even though 1st thread released it (race)
Thread fairness issue?
Checking interrupts seems to help it, but not sure.
~~~diff
diff --git a/thread.c b/threa...
nobu (Nobuyoshi Nakada)
01:29 PM Bug #10076: 2nd thread can't get mutex even though 1st thread released it (race)
Attaching source code with reproduced problem. ledestin (Dmitry Maksyoma)
01:26 PM Bug #10076 (Closed): 2nd thread can't get mutex even though 1st thread released it (race)
~~~ruby
require 'thread'
m = Mutex.new
Thread.abort_on_exception = true
Thread.new {
loop {
m.synchro...
ledestin (Dmitry Maksyoma)
11:15 AM Feature #10068: [PATCH] Implement monadic operator for Vector
I am not sure the term monadic is a proper one, but I like the idea.
Matz.
matz (Yukihiro Matsumoto)
02:01 AM Feature #10068: [PATCH] Implement monadic operator for Vector
I'm sorry my report looks ugly... I fix it. ↓
Before
```
v = Vector[1, 2, 3]

+ v
=> NoMethodError: undefi...
gogotanaka (Kazuki Tanaka)
01:57 AM Feature #10068 (Closed): [PATCH] Implement monadic operator for Vector

Before
```
v = Vector[1, 2, 3]
+ v
=> NoMethodError: undefined method `+@' for Vector[1, 2, 3]:Vector
...
gogotanaka (Kazuki Tanaka)
11:11 AM Feature #10064 (Feedback): &:symbol in when clause
The original idea includes dispatch based on type (Symbol), which is not a good idea in general.
The one proposed by...
matz (Yukihiro Matsumoto)
02:41 AM Feature #10064: &:symbol in when clause
just idea.
```ruby
class Symbol
def ~@
self.to_proc
end
end
case 0
when ~:zero?
p :zero
end
...
ko1 (Koichi Sasada)
10:14 AM Bug #10067: File.file? misleading semantics & documentation for symbolic links
Nobuyoshi Nakada wrote:
> Citing from [POSIX manpage test(1)](http://www.unix.com/man-page/POSIX/1/test/)
> > Wit...
robe (Michael Renner)
04:45 AM Bug #10067: File.file? misleading semantics & documentation for symbolic links
Citing from [POSIX manpage test(1)](http://www.unix.com/man-page/POSIX/1/test/)
> With the exception of the `-h path...
nobu (Nobuyoshi Nakada)
04:23 AM Bug #10067: File.file? misleading semantics & documentation for symbolic links
I can confirm that `test -f` and `File.file?` seem to have the same return values in this example:
ln -s link ...
jaredbeck (Jared Beck)
08:07 AM Revision f5a43f4a (git): compile.c: FCALL flag on AREF
* compile.c (iseq_compile_each): set FCALL flag on AREF call at
private aref op_assign. [ruby-core:63817] [Bug #10...
nobu (Nobuyoshi Nakada)
08:01 AM Bug #10075 (Closed): URI#join needs documentation of its behavior
The [documentation](http://www.ruby-doc.org/stdlib-2.1.2/libdoc/uri/rdoc/URI.html#method-c-join) for `URI.join` says:... jxf (John Feminella)
07:33 AM Bug #10071 (Closed): Documentation for time.c contains broken links
The documentation for `compat_common_month_table` in time.c:1326 contains a link to http://use.perl.org/articles/08/0... febuiles (Federico Builes)
04:22 AM Revision ef809762 (git): * string.c: [DOC] teach rdoc symbol.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
03:41 AM Bug #10060 (Closed): private attr_accessor and NoMethodError
Applied in changeset r46873.
----------
compile.c: private reader in op_assign
* compile.c (iseq_compile_each): all...
nobu (Nobuyoshi Nakada)
03:40 AM Revision bc45eed1 (git): compile.c: private reader in op_assign
* compile.c (iseq_compile_each): allow to access private attribute
reader in op_assign. [ruby-core:63817] [Bug #10...
nobu (Nobuyoshi Nakada)
02:56 AM Revision f75b676c (git): Fix `Time.parse` for out of range arguments with an offset
* lib/time.rb (Time#apply_offset): Guards against a `nil` return
value from `Time.month_days` when offsetting date....
nobu (Nobuyoshi Nakada)
12:06 AM Feature #10065: Make `gem env` command output valid YAML
I just realized that the current output is actually valid Markdown (at least Github Flavored Markdown). The proposed... david_macmahon (David MacMahon)

07/18/2014

11:45 PM Bug #10067: File.file? misleading semantics & documentation for symbolic links
It's same as `test(1)` command. nobu (Nobuyoshi Nakada)
11:17 PM Bug #10067 (Closed): File.file? misleading semantics & documentation for symbolic links
The documentation for ``File.file?`` states:
"Returns true if the named file exists and is a regular file."
W...
robe (Michael Renner)
11:40 PM Bug #10066 (Rejected): File.expand_path performs poor validation of absolute path
It's a valid path, and `File.expand_path()` doesn't reject non-existent pathes. nobu (Nobuyoshi Nakada)
10:02 PM Bug #10066 (Rejected): File.expand_path performs poor validation of absolute path
With `File.expand_path()`, if one of the arguments is of the form "~/.*", then it will search for the environment var... lavamunky (Peter Blay)
11:35 PM Bug #10053: OpenSSL: incorrect return value check of EGD functions
The Entropy Gathering Daemon was last updated twelve years ago.
Ruby should deprecate the use of egd functions and...
PvpDJgHP (William Thomas NELSON)
11:01 PM Feature #10065: Make `gem env` command output valid YAML
It doesn't *need* to be YAML, but does it need *not* to be YAML? It is sooooo close already why not make it YAML? B... david_macmahon (David MacMahon)
10:03 PM Feature #10065 (Feedback): Make `gem env` command output valid YAML
Why does it need to be YAML?
I don't think it was ever intended to be YAML and with your change it will be too clu...
drbrain (Eric Hodel)
06:25 PM Feature #10065 (Feedback): Make `gem env` command output valid YAML
The output of `gem environment` is close to being valid YAML, but the `GEM CONFIGURATION` section uses `key => value`... david_macmahon (David MacMahon)
09:20 PM Revision 595d057e (git): * 2014-07-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:20 PM Revision cf55e34e (git): * refactoring
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e suke (Masaki Suketa)
09:11 PM Bug #10062: Segfault involving Queue
The condition has been tagged as 'segfault' on all three projects. Since I will attempt to find a workaround, be sur... LordAlveric (Fred Mitchell)
12:08 PM Bug #10062 (Closed): Segfault involving Queue
Pushing an object onto a `Queue` instantiation causes a segfault. This was seen on Ruby versions 2.1.1 and 2.1.2
I...
LordAlveric (Fred Mitchell)
07:20 PM Bug #10063: [ruby_2_1] test-all abort due to undefined marshal_dump from test_queue.rb
May be something in my environment as `make test-all` runs fine on one of my other 64-bit Ubuntu Server boxes. jonforums (Jon Forums)
03:50 PM Bug #10063 (Rejected): [ruby_2_1] test-all abort due to undefined marshal_dump from test_queue.rb
~~~
uname -a
Linux ubusvr64 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/...
jonforums (Jon Forums)
05:42 PM Feature #10064 (Feedback): &:symbol in when clause
Now we can put Proc objects in a when clause as this code.
~~~
require 'prime'
def test(n)
print "#{n} is "...
mrkn (Kenta Murata)
05:18 PM Bug #10060: private attr_accessor and NoMethodError
~~~diff
diff --git i/compile.c w/compile.c
index 637e112..556efc2 100644
--- i/compile.c
+++ w/compile.c
@@ -417...
nobu (Nobuyoshi Nakada)
04:52 PM Bug #10060: private attr_accessor and NoMethodError
Not a bug, there is no such thing as a private accessor avit (Andrew Vit)
09:08 AM Bug #10060 (Closed): private attr_accessor and NoMethodError
~~~ruby
class Bug
def initialize
self.n = 1 # ok
end
def t1
self.n = n + 1 # ok
self.n += ...
Anonymous
05:16 PM Bug #9902: Regexp#[] ignores after NUL byte in named capture index
backported into `ruby_2_1` branch at r46869. nagachika (Tomoyuki Chikanaga)
05:13 PM Feature #10057: [PATCH] Add tests for Matrix class.
@ Hiroshi SHIBATA さん
ファイルの削除や進捗、ステータスのハンドリングありがとうございます.
Thank you for your some supports.
@ Mr. Marc-Andre L...
gogotanaka (Kazuki Tanaka)
09:57 AM Feature #10057: [PATCH] Add tests for Matrix class.
Gogo Tanaka san,
Thanks for these additional tests.
Please note that the vast majority of tests of the Matrix l...
marcandre (Marc-Andre Lafortune)
08:48 AM Feature #10057 (Closed): [PATCH] Add tests for Matrix class.
Applied in changeset r46861.
----------
* test/matrix/test_matrix.rb: Add tests for Matrix class.
[Feature #10057]...
hsbt (Hiroshi SHIBATA)
08:18 AM Feature #10057: [PATCH] Add tests for Matrix class.
@ Hiroshi SHIBATA さん
I split patch "reorder_Matrix#real_and_Matrix_imaginary.patch" to https://bugs.ruby-lang.org...
gogotanaka (Kazuki Tanaka)
05:54 AM Feature #10057: [PATCH] Add tests for Matrix class.
Please split new feature and tests into another issue. hsbt (Hiroshi SHIBATA)
05:49 AM Feature #10057 (Closed): [PATCH] Add tests for Matrix class.
I send 7 patches.
In one of patches (reorder_Matrix#real_and_Matrix_imaginary.patch), I just reorder methods.
...
gogotanaka (Kazuki Tanaka)
05:01 PM Misc #10032: Matrix classについて
Marc-Andre Lafortune wrote:
> Finally, my personal goal is that PRs are dealt as early as convenient, but definitel...
gogotanaka (Kazuki Tanaka)
10:35 AM Misc #10032: Matrix classについて
gogo tanaka wrote:
> I think only Mr. Marc-Andre Lafortune can review my PR, and this is why it take time to review....
marcandre (Marc-Andre Lafortune)
01:50 AM Misc #10032: Matrix classについて
@ Shota Fukumori
> But please remember that almost of us are volunteer. I think you already know as you did, write...
gogotanaka (Kazuki Tanaka)
01:13 AM Misc #10032: Matrix classについて
>But I think Whether I use github or redmine, It's not problem.
github の pull request へのレビューが行われないことは、公式の issue t...
hsbt (Hiroshi SHIBATA)
12:29 AM Misc #10032: Matrix classについて
Translating from Japanese...
gogo tanaka wrote:
> > And I'm afraid that nobody but you can maintain matrix..
> J...
sorah (Sorah Fukumori)
04:46 PM Revision f8048f78 (git): merge revision(s) r46344: [Backport #9902]
* re.c (match_aref): should not ignore name after NUL byte.
[ruby-dev:48275] [Bug #9902]
git-svn-id: svn+...
nagachika (Tomoyuki Chikanaga)
04:33 PM Feature #10058: [PATCH] Fix some coding styles
> Naohisa Goto: Good point about __send__, I imagine it is to avoid classes that redefined send? In any case, I revis... ngoto (Naohisa Goto)
10:14 AM Feature #10058: [PATCH] Fix some coding styles
Naohisa Goto: Good point about `__send__`, I imagine it is to avoid classes that redefined `send`? In any case, I rev... marcandre (Marc-Andre Lafortune)
10:12 AM Feature #10058: [PATCH] Fix some coding styles
Even though it can be a pain, please split unrelated patches in different requests.
1) Unify && vs and:
Thanks,...
marcandre (Marc-Andre Lafortune)
09:40 AM Feature #10058: [PATCH] Fix some coding styles
> There are both && and and. So, I Unify with &&
Be careful that "&&" and "and" have different operator precedence...
ngoto (Naohisa Goto)
09:06 AM Feature #10058: [PATCH] Fix some coding styles
> There are both send :xxx and send(:xxx) expressions. So, I Unify with send(:xxx)
I think "send" should be replac...
ngoto (Naohisa Goto)
08:13 AM Feature #10058 (Closed): [PATCH] Fix some coding styles
When I read codes, I notice some issues about coding style.
If you don't mind that, you can ignore my patches. It'...
gogotanaka (Kazuki Tanaka)
02:24 PM Revision a6ba688d (git): array.c: array may be modified in the block
* array.c (rb_ary_any_p): the array may be modified in the yielded
block, do not access directly.
git-svn-id: svn+...
nobu (Nobuyoshi Nakada)
01:40 PM Revision d89c7635 (git): * ext/win32ole/win32ole.c (folevariant_initialize): WIN32OLE_VARIANT
does not support VT_RECORD. VT_RECORD should be supported in
WIN32OLE_RECORD.
* test/win32ole/test_win32ole_varian...
suke (Masaki Suketa)
01:16 PM Revision d738e3e1 (git): optimized any? methods
* array.c (rb_ary_any_p), hash.c (rb_hash_any_p): optimized
versions. these are bit faster than optimization in
...
nobu (Nobuyoshi Nakada)
01:16 PM Revision e23d1736 (git): revert r46859 and r46860
revert "enum.c: optimize any? object allocations for Array and Hash"
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru...
nobu (Nobuyoshi Nakada)
12:15 PM Bug #8507: Keyword splat does not convert arg to Hash
It's #9776. nobu (Nobuyoshi Nakada)
10:18 AM Bug #8507: Keyword splat does not convert arg to Hash
Stephen Celis wrote:
> - **kwargs are mutable
>
> ~~~ruby
> def double_splat **kwargs
> kwargs[:foo] = 'bar'
...
marcandre (Marc-Andre Lafortune)
11:54 AM Bug #10061 (Feedback): Segmentation fault
It's a machine stack overflow, and should be fixed already.
Try recent versions.
nobu (Nobuyoshi Nakada)
09:19 AM Bug #10061 (Closed): Segmentation fault
~~~
array = []
100000.times { array = [array] }
puts array
~~~
~~~
bug.rb:4: [BUG] Segmentation fault at 0x007f...
Anonymous
10:56 AM Revision 7ebb63f0 (git): * ext/win32ole/win32ole.c (folevariant_initialize): remove unnecessary
code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
suke (Masaki Suketa)
10:11 AM Revision 84eba0de (git): * lib/matrix/eigenvalue_decomposition: Style fix
Patch by Gogo Tanaka [#10058]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46863 b2dd03c8-39d4-4d8f-98ff-823fe6...
Marc-Andre Lafortune
10:04 AM Revision b0eda568 (git): * lib/matrix.rb: Avoid using `and`.
Patch by gogo tanaka [#10058]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46862 b2dd03c8-39d4-4d8f-98ff-823fe6...
Marc-Andre Lafortune
08:48 AM Revision b7941452 (git): * test/matrix/test_matrix.rb: Add tests for Matrix class.
[Feature #10057][ruby-core:63809]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46861 b2dd03c8-39d4-4d8f-98ff-82...
hsbt (Hiroshi SHIBATA)
08:30 AM Feature #10059 (Feedback): [PATCH and SUGGEST] 代数構造を記述する時にメタプログラミングは非常に非常に強力ですが
タイトルに書きました通り、代数構造を記述する時にメタプログラミングは非常に非常に強力で
保守性や可読性を著しく推し上げます. 著しくです. これは代数的な性質(演算子の対称性、可逆性など)を記述出来る事に起因します.
しか...
gogotanaka (Kazuki Tanaka)
02:18 AM Revision ff4dad97 (git): ChangeLog: fix GH reference
* ChangeLog: fix Github reference in r46859. [fix GH-671]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46860 b...
nobu (Nobuyoshi Nakada)
02:10 AM Revision 0d0fc551 (git): enum.c: optimize any? object allocations for Array and Hash
* enum.c (enum_any): optimize object allocations for Array and
Hash when `each` is not redefined, always false if e...
nobu (Nobuyoshi Nakada)
01:53 AM Revision c317e978 (git): vm_core.h: redefined_flag in rb_vm_t
* vm_core.h (struct rb_vm_struct): move redefined_flag from
ruby_vm_redefined_flag.
* vm_core.h (BASIC_OP_UNREDEFI...
nobu (Nobuyoshi Nakada)
01:47 AM Revision ce4cfec8 (git): configure.in: with-destdir
* configure.in: add --with-destdir option which sets default
destination directory to install.
git-svn-id: svn+ssh...
nobu (Nobuyoshi Nakada)
01:29 AM Feature #10056 (Assigned): [PATCH 0/1]Add #adjugate method to matrix class
hsbt (Hiroshi SHIBATA)
01:21 AM Feature #10056 (Closed): [PATCH 0/1]Add #adjugate method to matrix class
Add Matrix#adjugate to make a matrix adjugate.
Adjugate is really important operator to handle matrix (especially ...
gogotanaka (Kazuki Tanaka)
01:16 AM Revision 2de10af7 (git): * lib/fileutils.rb: added missing options of FileUtils.touch by @Domon.
[fix GH-669]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)

07/17/2014

10:35 PM Feature #10047 (Feedback): Proposal for failesafe requires
If `require` failed, you don't have the features (classes and modules) from the library, so that your program would n... matz (Yukihiro Matsumoto)
09:54 PM Bug #10055 (Closed): Shellwords.shellsplit() does not match POSIX sh behavior for backslashes within double-quoted strings
In POSIX sh, the following commands are identical:
~~~
printf '%s\n' hello world
printf "%s\n" hello world
~~~
...
charles-dyfis-net (Charles Duffy)
08:44 PM Misc #10032: Matrix classについて
@ Shota Fukumori さん
すみません、僕の英語力が拙いばかりに. お手数おかけ致します.
I'm really sorry for my poor English.
僕が意図してた事を対訳と共に以下に示...
gogotanaka (Kazuki Tanaka)
07:58 PM Misc #10032: Matrix classについて
gogo tanaka wrote:
> And I'm afraid that nobody but you can maintain matrix..
(snip)
> Nobody but you haven't main...
sorah (Sorah Fukumori)
04:36 PM Misc #10032: Matrix classについて
@ Mr. Marc-Andre Lafortune
You reviewed all of my PR about Matrix, I really appreciate your review, thank you.
...
gogotanaka (Kazuki Tanaka)
06:38 PM Bug #8507: Keyword splat does not convert arg to Hash
Another issue with keyword args and consistency with args:
- *args are immutable
- **kwargs are mutable
~~~rub...
stephencelis (Stephen Celis)
06:22 PM Feature #10038: Extend ObjectSpace.dump to expose buffer addresses for String and Array
Eric Wong wrote:
> The objspace extension is already implementation-specific and documented
> as having no compat...
headius (Charles Nutter)
05:21 PM Feature #10038: Extend ObjectSpace.dump to expose buffer addresses for String and Array
[email protected] wrote:
> If a feature like this must be added, put it in an MRI-specific
> namespace like Ruby...
normalperson (Eric Wong)
05:04 PM Feature #10038: Extend ObjectSpace.dump to expose buffer addresses for String and Array
-1 from me, mostly because exposing actual memory addresses will *further* limit what Ruby can do with object referen... headius (Charles Nutter)
04:55 PM Revision 1e92d275 (git): * 2014-07-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:54 PM Revision ca2d6be1 (git): iseq.h: check range
* iseq.h (iseq_catch_table_bytes): check range and suppress a
warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
nobu (Nobuyoshi Nakada)
03:02 PM Feature #10040 (Feedback): `%d` and `%t` shorthands for `Date.new(*args)` and `Time.new(*args)`
I don't really understand the benefit of having Time literals.
I don't see `20140718T` more readable than `Time.new(...
matz (Yukihiro Matsumoto)
08:26 AM Feature #10040: `%d` and `%t` shorthands for `Date.new(*args)` and `Time.new(*args)`
Andrew Vit wrote:
> The "Z" suffix is for "Zulu Time", also known as UTC, so I would expect that to return a proper ...
nobu (Nobuyoshi Nakada)
10:57 AM Revision 083c5896 (git): thread/thread.c: simplify
* ext/thread/thread.c (queue_pop_should_block): returns int
instead of VALUE, and use rb_check_arity.
* ext/thread...
nobu (Nobuyoshi Nakada)
10:57 AM Feature #10052 (Closed): Add parameter non_block (defaults to false) on SizedQueue#push
Applied in changeset r46852.
----------
thread/thread.c: non-blocking push on SizedQueue
* ext/thread/thread.c (rb_...
nobu (Nobuyoshi Nakada)
09:50 AM Feature #10052: Add parameter non_block (defaults to false) on SizedQueue#push
The following patch should do the trick.
Another thing to consider in this file: don't mix up tabs and spaces. The...
herwinw (Herwin Quarantainenet)
08:59 AM Feature #10052 (Closed): Add parameter non_block (defaults to false) on SizedQueue#push
The implementations of Queue and SizedQueue have a method pop, where a parameter non_block would make the call raise ... herwinw (Herwin Quarantainenet)
10:57 AM Revision 4c849f0e (git): thread/thread.c: non-blocking push on SizedQueue
* ext/thread/thread.c (rb_szqueue_push): add optional parameter,
non_block defaulted to false. [ruby-core:63794] [...
nobu (Nobuyoshi Nakada)
10:56 AM Revision 06e70ae4 (git): test_queue.rb: non-blocking pop tests
* test/thread/test_queue.rb (test_queue_pop_non_block): test for
non-blocking pop.
* test/thread/test_queue.rb (te...
nobu (Nobuyoshi Nakada)
09:43 AM Bug #10054 (Closed): Net::HTTPGenericRequest sets host even if it was set before by user
~~~
# there is SSH tunnel that forwards 127.0.0.1:9293 to google.com:80
request = Net::HTTP::Post.new(URI("http://1...
semenyukd (Dmitriy Semenyuk)
09:32 AM Bug #9344 (Closed): warning origin incorrect with instance_eval
Onigmo 5.14.1 was merged with r46831.
Fix for this issue is included in Onigmo 5.14.1.
> Rather I think onig_synt...
k_takata (Ken Takata)
09:16 AM Bug #7215: Remaining messages on OpenSSL error queue after Certificate#verify
Any changes here? Can confirm that problem persists in newer versions of ruby (i.e. 2.1.0p0 (2013-12-25 revision 4442... kritik (Vladimir Krylov)
09:16 AM Bug #8716: segmation fault 正規表現で大量のグループを利用時
Ken Takata wrote:
> クローズの際の取り決めがあるのかということを気にしていました。
> (勝手に閉じて良いのかとか、Backport 欄は誰が何を設定するとか。)
直したら閉じていいですし、直ってるのに閉...
usa (Usaku NAKAMURA)
09:07 AM Bug #8716: segmation fault 正規表現で大量のグループを利用時
クローズの際の取り決めがあるのかということを気にしていました。
(勝手に閉じて良いのかとか、Backport 欄は誰が何を設定するとか。)
> 該当修正部分のみを抽出して取り込むことになるかと思います。
関連コミットを挙...
k_takata (Ken Takata)
07:50 AM Bug #8716: segmation fault 正規表現で大量のグループを利用時
Ken Takata wrote:
> Ruby 2.0/2.1へのバックポートはどうしましょうか。
該当修正部分のみを抽出して取り込むことになるかと思います。
しかし、backportチケットから持ってくるとBackp...
usa (Usaku NAKAMURA)
07:34 AM Bug #8716 (Closed): segmation fault 正規表現で大量のグループを利用時
閉じます
Edit → Status → Closed ですね。あるいは ChangeLog/commitMessage で [Bug #8716] とか。
http://img.sorah.jp/20140717_16.34...
sorah (Sorah Fukumori)
09:01 AM Bug #10053 (Closed): OpenSSL: incorrect return value check of EGD functions
https://www.openssl.org/docs/crypto/RAND_egd.html#RETURN_VALUE
~~~diff
diff --git a/ext/openssl/ossl_rand.c b/ext...
cremno (cremno phobia)
08:23 AM Bug #10048 (Feedback): Time comparison broken on Windows, Ruby 1.9.3
nobu (Nobuyoshi Nakada)
08:03 AM Bug #10048: Time comparison broken on Windows, Ruby 1.9.3
*Note that normal maintenance phase of 1.9.3 has already ended.*
I can't reproduce it on my environment.
* Wind...
usa (Usaku NAKAMURA)
08:02 AM Feature #10051: nbsp isn't remove with trim
Currently methods of `String` don't deal with Unicode properties.
Possibly some gems might be available.
nobu (Nobuyoshi Nakada)
06:40 AM Feature #10051 (Open): nbsp isn't remove with trim

When I have a nbsp character in a string and call strip on it, it will not remove it even though is would could as ...
basvodde (Bas Vodde)
07:51 AM Bug #10041 (Rejected): Segmentation Fault.
You loaded an extension library linked against the shared libruby from statically linked ruby.
```
4 ruby ...
nobu (Nobuyoshi Nakada)
05:13 AM Bug #10041: Segmentation Fault.
Attached is the file containing more information. vinahr (Veena Hampapur)
07:33 AM Bug #10031 (Assigned): Net::IMAP idle can still block a thread forever.
shugo (Shugo Maeda)
05:31 AM Feature #10050: [PATCH 0/2] reduce rb_io_t to 192 bytes (from 216) on 64-bit
I forgot to note this the last publically-visible struct which may be
packed. Internals for the others are defined...
normalperson (Eric Wong)
05:08 AM Feature #10050 (Closed): [PATCH 0/2] reduce rb_io_t to 192 bytes (from 216) on 64-bit
This will allow x86-64 machines to only use 3 cache lines instead of 4
(where cache size == 64).
Hopefully there ...
normalperson (Eric Wong)
04:30 AM Revision 25a2e870 (git): parse.y: separate from parse_ident
* parse.y (tokadd_ident, tokenize_ident): extract from
parse_ident().
* parse.y (parse_gvar, parse_atmark): move t...
nobu (Nobuyoshi Nakada)
04:30 AM Revision 27e1b247 (git): parse.y: parse_atmark
* parse.y (parse_atmark): extract from parser_yylex().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46849 b2dd0...
nobu (Nobuyoshi Nakada)
04:30 AM Revision db155640 (git): parse.y: parse_ident
* parse.y (parse_ident): extract from parser_yylex().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46848 b2dd03...
nobu (Nobuyoshi Nakada)
04:30 AM Revision 5faf8f07 (git): parse.y: parse_gvar
* parse.y (parse_gvar): extract from parser_yylex().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46847 b2dd03c...
nobu (Nobuyoshi Nakada)
04:30 AM Revision d41b3e88 (git): parse.y: parse_percent
* parse.y (parse_percent): extract from parser_yylex().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46846 b2dd...
nobu (Nobuyoshi Nakada)
04:30 AM Revision c42029f3 (git): parse.y: parse_qmark
* parse.y (parse_qmark): extract from parser_yylex().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46845 b2dd03...
nobu (Nobuyoshi Nakada)
04:30 AM Revision 9e09b370 (git): parse.y: parse_rational
* parse.y (parse_rational): extract from parse_numeric().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46844 b2...
nobu (Nobuyoshi Nakada)
04:30 AM Revision f180814e (git): * 2014-07-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:30 AM Revision 5000ed38 (git): parse.y: parse_numeric
* parse.y (parse_numeric): extract from parser_yylex().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46842 b2dd...
nobu (Nobuyoshi Nakada)
04:30 AM Revision 88d4f46f (git): parse.y: negate_lit
* parse.y (negate_lit): alter only literal object itself, not NODE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun...
nobu (Nobuyoshi Nakada)

07/16/2014

10:11 PM Bug #8716: segmation fault 正規表現で大量のグループを利用時
r46831 で Onigmo 5.14.1 がマージされましたので、これも取り込まれました。
チケットのクローズ手順がよく分かっていないので、処理をお願いします。>NARUSEさん
(あと #9344 も)
Ruby 2....
k_takata (Ken Takata)
08:54 PM Feature #10040: `%d` and `%t` shorthands for `Date.new(*args)` and `Time.new(*args)`
> Nathan, Date is only available in stdlib (maybe it should be moved to core) so I don't think those literals will wo... nathan.f77 (Nathan Broadbent)
06:11 PM Feature #10040: `%d` and `%t` shorthands for `Date.new(*args)` and `Time.new(*args)`
I like that literal syntax!
~~~
Time.new(2014, 7, 15, 12, 58, 45, "+00:00").utc? #=> false
Time.utc(2014, 7, 15,...
avit (Andrew Vit)
06:09 AM Feature #10040: `%d` and `%t` shorthands for `Date.new(*args)` and `Time.new(*args)`
Nobuyoshi Nakada wrote:
> I don't think there is possibilities to introduce `%d` and `%i`, especially using variable...
nathan.f77 (Nathan Broadbent)
05:54 AM Feature #10040: `%d` and `%t` shorthands for `Date.new(*args)` and `Time.new(*args)`
I don't think there is possibilities to introduce `%d` and `%i`, especially using variables.
But the latter would be...
nobu (Nobuyoshi Nakada)
08:26 PM Bug #10049 (Closed): RDoc bug for time format
A bug report https://bugs.ruby-lang.org/issues/8941 notes a contradiction between RDoc and Ruby behavior. If tadayosh... sawa (Tsuyoshi Sawada)
06:49 PM Bug #10048 (Closed): Time comparison broken on Windows, Ruby 1.9.3
Ruby 2.0 on OSX:
~~~ruby
Time.parse("2014-07-15 14:25:04") <= Time.now
=> true
~~~
Ruby 1.9.3 on Windows 7 E...
kmcd (k mcd)
03:17 PM Feature #10047 (Feedback): Proposal for failesafe requires
Hi guys,
I know this is unlikely to make it in, so it can be closed soon I suppose,
but a short discussion might ...
shevegen (Robert A. Heiler)
02:05 PM Revision 686bd6b3 (git): * ext/win32ole/win32ole.c (ole_variant2val): support array of
VT_RECORD variant.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
suke (Masaki Suketa)
02:03 PM Bug #7877: E::Lazy#with_index should be lazy
Is it somehow related? http://stackoverflow.com/q/24782712/322020
... .lazy ... .take_while.with_index{ ...
Argumen...
Nakilon (Victor Maslov)
12:57 PM Bug #10045: SegFault in BigDecimal in 2.1.2p95
It seems that this bug is a duplicate of bug #9657.
The bug was fixed and backported to ruby-2.1.2
https://bugs.ru...
phasis68 (Heesob Park)
11:19 AM Bug #10045: SegFault in BigDecimal in 2.1.2p95
Actually, I'm not sure if this should be core or extensions? Please correct as needed during triage; I'm not familiar... dkennedy (David Kennedy)
10:57 AM Bug #10045 (Closed): SegFault in BigDecimal in 2.1.2p95
We use Travis CI to build our code and are having issues with some builds terminating; today we caught a segfault in ... dkennedy (David Kennedy)
12:47 PM Bug #10046 (Closed): OpenSSL::TestSSLSession#test_ctx_server_session_cb and OpenSSL::TestSSLSession#test_ctx_client_session_cb test failures
I observe following test failures in Fedora 21 and Rawhide:
~~~
4) Error:
OpenSSL::TestSSLSession#test_ctx_ser...
vo.x (Vit Ondruch)
11:50 AM Bug #10037: Since r46798 on Solaris, "[BUG] rb_vm_get_cref: unreachable" during make
r46838 is temporal workaround for this bug. Please remove when the drastic solution come.
r46839 changes the type ...
ngoto (Naohisa Goto)
11:46 AM Revision e54e53f3 (git): * vm_core.h (struct rb_iseq_struct): stack_max is changed to int
because all calculations related to stack_max in compile.c
(iseq_set_sequence) and vm_insnhelper.c (vm_push_frame) ...
ngoto (Naohisa Goto)
11:04 AM Revision e49a7bed (git): * vm_core.h (struct rb_iseq_struct): temporal workaround of [Bug 10037].
Add padding on big-endian 64-bit architecture (e.g. sparc64).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@468...
ngoto (Naohisa Goto)
10:35 AM Revision 25ece76e (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:34 AM Revision eccc9886 (git): * ext/win32ole/win32ole.c (fole_record_method_missing): call
rb_hash_fetch instead of rb_hash_aref.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46836 b2dd03c8-39d4-4d8f-...
suke (Masaki Suketa)
10:16 AM Revision 239c9855 (git): revert r46834 because it does not pass tests
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
09:39 AM Revision 01dc0a71 (git): * vm_core.h: remove rb_vm_t::trap_list[RUBY_NSIG], but add
rb_vm_t::trap_list_cmds (an array) and
rb_vm_t::trap_list_safes[RUBY_NSIG]
(separate to two different array).
T...
ko1 (Koichi Sasada)
09:33 AM Bug #10044 (Closed): socket.write has different behaviors in process and thread
It's a use case that sending message to syslog through unix socket.
My env is Amazon Linux 2013.09.
Run the scrip...
[email protected] (Hailin Hu)
09:09 AM Revision 20a9bd67 (git): * iseq.c (rb_iseq_defined_string): use rb_gc_mark_object() instead of
marking from vm_mark().
* vm.c (rb_vm_mark): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46833 b2dd03...
ko1 (Koichi Sasada)
09:06 AM Revision 88722e6a (git): * gc.c (gc_mark_roots): call rb_vm_mark directly.
* vm.c: remove mark function for RubyVM object because
RubyVM object marked manually.
git-svn-id: svn+ssh://ci.r...
ko1 (Koichi Sasada)
07:27 AM Feature #9924: Revisitting GC.stat keys
No objection? ko1 (Koichi Sasada)
07:26 AM Bug #9938 (Rejected): ObjectSpace::allocation_class_path does not object's class
ko1 (Koichi Sasada)
07:25 AM Feature #10030 (Closed): [PATCH] reduce rb_iseq_struct to 296 bytes
ko1 (Koichi Sasada)
05:48 AM Bug #9774: Net::HTTP failure to validate certificate
Hello.
I've encounter the similar issue on Mac OS X Mavericks with Ruby 2.0.0-p481 and 2.1.2.
But in my case, the...
nagachika (Tomoyuki Chikanaga)
05:33 AM Bug #9906 (Rejected): duplicated require of '.so' files?
Hello, Martin.
It is not a bug.
At first, please take a look at the script belows.
Script:
$LOAD_PATH...
nagachika (Tomoyuki Chikanaga)
03:27 AM Bug #9092 (Closed): Update Unicode data to Unicode Version 7.0
Applied in changeset r46831.
----------
* regcomp.c: Merge Onigmo 5.14.1 25a8a69fc05ae3b56a09.
this includes Suppo...
naruse (Yui NARUSE)
03:27 AM Revision 64c81e40 (git): * regcomp.c: Merge Onigmo 5.14.1 25a8a69fc05ae3b56a09.
this includes Support for Unicode 7.0 [Bug #9092].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46831 b2dd03c8-...
naruse (Yui NARUSE)
03:15 AM Bug #9920 (Rejected): Ruby does not support Unicode 6.0 emoji, only private-use area Unicode emoji
There are some SJIS variants which includes Emoji.
Therefore you must which variant will you use.
Use SJIS-DoCoMo...
naruse (Yui NARUSE)
02:47 AM Bug #10043: Crash Report log file on MacOS X
I don't want to repeat "please show your Crash Report log". nobu (Nobuyoshi Nakada)
12:36 AM Bug #10043 (Closed): Crash Report log file on MacOS X
Please backport r44916, which mentions about Crash Report log file on MacOS X.
nobu (Nobuyoshi Nakada)
01:55 AM Bug #9659 (Feedback): crash in FIPS mode after unchecked algo->init_func failure
usa (Usaku NAKAMURA)
12:20 AM Bug #10041 (Feedback): Segmentation Fault.
Please show the following files:
~~~
-- Crash Report log information --------------------------------------------...
nobu (Nobuyoshi Nakada)

07/15/2014

11:58 PM Feature #10042 (Feedback): Deprecate postfix rescue syntax for removal in 3.0
The postfix rescue notation is convenient...but almost always is a really bad antipattern.
An example of the notat...
headius (Charles Nutter)
11:47 PM Bug #10041 (Rejected): Segmentation Fault.
Getting segmentation fault with rake routes, rails server, or any rails generate etc.
This is the output I get w...
vinahr (Veena Hampapur)
10:16 PM Bug #9659: crash in FIPS mode after unchecked algo->init_func failure
Is EVP API necessary?
I've reverted it because of segfaults on many platforms.
nobu (Nobuyoshi Nakada)
08:27 PM Bug #9659: crash in FIPS mode after unchecked algo->init_func failure
Thanks Nobu. Nonetheless, I don't think it is backportable (which was not necessarily the point :). vo.x (Vit Ondruch)
02:59 PM Bug #9659 (Closed): crash in FIPS mode after unchecked algo->init_func failure
Applied in changeset r46826.
----------
digest.c: raise exception on init failure
* ext/digest/digest.c: expect dig...
nobu (Nobuyoshi Nakada)
02:28 PM Bug #9659: crash in FIPS mode after unchecked algo->init_func failure
The above set of patches looks good to me. knu (Akinori MUSHA)
01:57 PM Bug #9659: crash in FIPS mode after unchecked algo->init_func failure
https://github.com/nobu/ruby/compare/Bug%239659-digest-failure nobu (Nobuyoshi Nakada)
10:06 AM Bug #9659: crash in FIPS mode after unchecked algo->init_func failure
Hi, can we please push this forward? Since the fixes proposed so far seems to break API/ABI, it would be nice to have... vo.x (Vit Ondruch)
08:30 PM Feature #10040 (Feedback): `%d` and `%t` shorthands for `Date.new(*args)` and `Time.new(*args)`
I'm working on a Ruby application where we have to deal with a lot of dates and times, especially in our test suite. ... nathan.f77 (Nathan Broadbent)
07:51 PM Bug #10037: Since r46798 on Solaris, "[BUG] rb_vm_get_cref: unreachable" during make
SASADA Koichi <[email protected]> wrote:
> (2014/07/16 1:38), [email protected] wrote:
> > With the patch, the fol...
normalperson (Eric Wong)
06:31 PM Bug #10037: Since r46798 on Solaris, "[BUG] rb_vm_get_cref: unreachable" during make
(2014/07/16 1:38), [email protected] wrote:
> With the patch, the following error occurs. (using r46830)

Tha...
ko1 (Koichi Sasada)
05:22 PM Bug #10037: Since r46798 on Solaris, "[BUG] rb_vm_get_cref: unreachable" during make
With the following additional patch, the "[BUG] unreachable" occurs after iseq->stack_max is set to 124 (== 0x7c).
...
ngoto (Naohisa Goto)
04:38 PM Bug #10037: Since r46798 on Solaris, "[BUG] rb_vm_get_cref: unreachable" during make
With the patch, the following error occurs. (using r46830)
~~~
(snip)
./miniruby -I./lib -I. -I.ext/common "./t...
ngoto (Naohisa Goto)
09:51 AM Bug #10037: Since r46798 on Solaris, "[BUG] rb_vm_get_cref: unreachable" during make

```c
enum iseq_type {
ISEQ_TYPE_TOP,
ISEQ_TYPE_METHOD,
ISEQ_TYPE_BLOCK,
ISEQ_TYPE_CLASS,
ISEQ_TYPE_R...
ko1 (Koichi Sasada)
07:51 AM Bug #10037: Since r46798 on Solaris, "[BUG] rb_vm_get_cref: unreachable" during make
[email protected] wrote:
> With "int stack_max" without dummy, the same error.

Thanks for trying. Do you ha...
normalperson (Eric Wong)
06:31 AM Bug #10037: Since r46798 on Solaris, "[BUG] rb_vm_get_cref: unreachable" during make
With "int stack_max" without dummy, the same error.
~~~
(snip)
./miniruby -I./lib -I. -I.ext/common "./tool/tra...
ngoto (Naohisa Goto)
06:01 AM Bug #10037: Since r46798 on Solaris, "[BUG] rb_vm_get_cref: unreachable" during make
[email protected] wrote:
> I think it is possbile that the first 8 byte (in 64-bit architecture)
> of "struct ...
normalperson (Eric Wong)
05:30 AM Bug #10037 (Closed): Since r46798 on Solaris, "[BUG] rb_vm_get_cref: unreachable" during make
Since r46798, failed to build on Solaris 10 running on SPARC64.
~~~
(snip)
converter from WINDOWS-874 to UTF-8
...
ngoto (Naohisa Goto)
06:47 PM Bug #10039 (Closed): "a+" mode for File.open doesn’t work
Hi there,
According to [the documentation](http://www.ruby-doc.org/core-2.1.2/IO.html#method-c-new) the "a+" file ...
Quintus (Marvin Gülker)
03:43 PM Revision bb51e69a (git): * 2014-07-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:43 PM Revision 5dbe603f (git): Revert r46828
r46828 "md5ossl.c: indicate the result" caused segfaults.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46829 b2...
nobu (Nobuyoshi Nakada)
03:39 PM Feature #7792: Make symbols and strings the same thing
So now that Symbol GC is implemented (#9634), does that change anything about the viability of this proposal? Ajedi32 (Ajedi32 W)
03:27 PM Feature #7791: Let symbols be garbage collected
Yes, this is a duplicate of [9634](https://bugs.ruby-lang.org/issues/9634). Ajedi32 (Ajedi32 W)
03:26 PM Bug #10027: make at windows , err : _rb_file_expand_path_internal already defined in file. obj
Oh, I didn't know that.
I confirmed with VC6 SP6 that the function exists in the library.
(But they are not declare...
k_takata (Ken Takata)
02:55 PM Bug #10027: make at windows , err : _rb_file_expand_path_internal already defined in file. obj
They seem provided as statically linked functions.
```
C:\Program Files (x86)\VC98\lib> dir msvcrt.lib
2000/03/0...
nobu (Nobuyoshi Nakada)
01:49 PM Bug #10027: make at windows , err : _rb_file_expand_path_internal already defined in file. obj
VC6 doesn't have _aligned_malloc/free. I think you should use VC7 or later.
Or, attached patch might fix the problem?
k_takata (Ken Takata)
03:54 AM Bug #10027: make at windows , err : _rb_file_expand_path_internal already defined in file. obj
Nobuyoshi Nakada wrote:
> Those functions are in msvcrt.lib.
> Have you applied service packs?
oh , I'll install...
sevk (kk kk)
02:59 PM Revision 2d33fc97 (git): md5ossl.c: indicate the result
* ext/digest/md5/md5ossl.c: use OpenSSL EVP API instead of MD5 API
to perform MD5 hashes using OpenSSL in ext/diges...
nobu (Nobuyoshi Nakada)
02:59 PM Revision aadebb29 (git): ext/digest: return values of init and final
* ext/digest: make built-in digest function implementations
indicate success or failure of init and final functions...
nobu (Nobuyoshi Nakada)
02:58 PM Revision 6046b9f1 (git): digest.c: raise exception on init failure
* ext/digest/digest.c: expect digest init and finish functions to
indicate success or failure; raise exception on f...
nobu (Nobuyoshi Nakada)
02:52 PM Bug #10019: segmentation fault/buffer overrun in pack.c (encodes)
It seems that the (off-by-one) issue is also present in Ruby 1.9.3, requiring a backport too.
It may also worth co...
rcvalle (Ramon de C Valle)
11:33 AM Revision a3f50234 (git): * ext/win32ole/win32ole.c: modify document for WIN32OLE_RECORD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e suke (Masaki Suketa)
11:08 AM Bug #10035: Find.find no longer accepts Pathname type as argument
It works in ruby-2.0.0-p481.
If you compare the files lib/find.rb from both versions, you can see that some code f...
herwinw (Herwin Quarantainenet)
11:00 AM Bug #10035: Find.find no longer accepts Pathname type as argument
I don't think I can agree with you in regards to Pathname being a more suitable type - because I rarely use Pathname ... shevegen (Robert A. Heiler)
11:01 AM Feature #10038: Extend ObjectSpace.dump to expose buffer addresses for String and Array
+1 shevegen (Robert A. Heiler)
07:15 AM Feature #10038 (Rejected): Extend ObjectSpace.dump to expose buffer addresses for String and Array
ObjectSpace.dump() expose internal information in JSON.
How about to expose buffer addresses for String and Array?
...
ko1 (Koichi Sasada)
08:42 AM Revision ee5edc59 (git): rbinstall.rb: fix directory permissions
* tool/rbinstall.rb (gem): fix permissions of bundle gems
directories.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
nobu (Nobuyoshi Nakada)
08:24 AM Revision a7f03a46 (git): rbinstall.rb: respect DESTDIR
* lib/rubygems.rb (Gem.install): pass optinos to
Gem::DependencyInstaller.
* tool/rbinstall.rb (gem): respect DEST...
nobu (Nobuyoshi Nakada)
08:04 AM Revision 163c2994 (git): test/ruby/test_env.rb: test memory leaks only on Windows
* test/ruby/test_env.rb (test_memory_leak_{aset,select,shift}):
test for Windows platform specific code.
(test_me...
nobu (Nobuyoshi Nakada)
04:06 AM Bug #10020: TestEnv#test_memory_leak_*, Fiddle::TestPointer#test_no_memory_leak, and Test_StringModifyExpand#test_modify_expand_memory_leak on Solaris
Naohisa Goto wrote:
> r46791 にて、Solaris 9 以降で、以下を満たす場合に、それらの環境変数をセットして invoke_ruby するように変更しました。
>
> * 環境変数 LD_PRE...
naruse (Yui NARUSE)
03:43 AM Revision 83edc945 (git): * defs/default_gems: change version definition file of rake.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
03:07 AM Revision bf0e6f0a (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:07 AM Revision 6be1627d (git): * 2014-07-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:07 AM Revision 63619280 (git): * lib/rake.rb, lib/rake/*.rb: Upgrade to rake-10.3.2
[fix GH-668]
* test/rake/*.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46818 b2dd03c8-39d4-4d8f-98f...
hsbt (Hiroshi SHIBATA)
02:10 AM Bug #10036 (Assigned): Time.parse raises NoMethodError: undefined method `<' for nil:NilClass when called with out of range arguments and a negative offset
hsbt (Hiroshi SHIBATA)
12:45 AM Bug #10036 (Closed): Time.parse raises NoMethodError: undefined method `<' for nil:NilClass when called with out of range arguments and a negative offset
To replicate:
require 'time'
Time.parse("2014-13-13T18:00:00-0900") # => NoMethodError: undefined method `<' for ...
greysteil (Grey Baker)
01:24 AM Bug #10009: IO operation is 10x slower in multi-thread environment
Hi Eric !
Eric Wong wrote:
> Good to know it works for you. Keep in mind TIME_QUANTUM_USEC=1000 is
What pro...
ariveira (Alexandre Riveira)
 

Also available in: Atom