Project

General

Profile

Activity

From 09/27/2014 to 10/03/2014

10/03/2014

11:51 PM Revision 27886620 (git): * ext/openssl/ossl_rand.c: [DOC] Add rdoc for method descriptions
By @vipulnsward [Fixes GH-657] https://.com/ruby/ruby/pull/657
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
zzak (zzak _)
11:24 PM Revision ce63c19c (git): * ext/openssl/ossl_rand.c: Use rb_define_module_function instead of
macro. [Fixes GH-686] https://.com/ruby/ruby/pull/686
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47780...
zzak (zzak _)
10:52 PM Feature #10321 (Closed): [] test st_foreach{,_check} for packed-to-unpack change
st: test packed-to-unpacked transitions during iteration
The st_foreach and st_foreach_check functions support tra...
normalperson (Eric Wong)
09:19 PM Feature #10072: [] Implement Vector.basis
@Marc-Andre Lafortune
I get your point. I admire your taste.
After some agonizing, I come up with implementing ...
gogotanaka (Kazuki Tanaka)
09:08 PM Revision f895ecdc (git): ext/win32ole/win32ole_method.c(olemethod_set_member): remove
redundant NULL check.
ext/win32ole/win32ole_type.c(oletype_set_member): ditto.
git-svn-id: svn+ssh://ci.ruby-lang....
suke (Masaki Suketa)
08:59 PM Feature #10073: [] Implement Laplace expansion for matrix.
Sorry, I should make that be clear.
OK, I'll update . Please wait for some time.
gogotanaka (Kazuki Tanaka)
08:40 PM Feature #9108: Hash sub-selections
My personal preference would be for `Hash#select(*args)` and `Hash#reject(*args)`, but if we *really* must maintain b... Ajedi32 (Ajedi32 W)
05:49 PM Bug #10026: Segmentation fault
The version I am experiencing the issue is with 2.1.2 and 2.1.3. maletor (Ellis Berner)
04:54 PM Bug #10311 (Feedback): Segmentation fault when starting rails server (2.2.0-preview1 & 4.2.0-beta2)
All extension libraries were installed after 2.2.0-preview1?
Could you attach DiagnosticReports files?
nobu (Nobuyoshi Nakada)
04:48 PM Feature #10320: require into module
So Wieso wrote:
> ~~~ruby
> require 'libfile', into: :Lib # keyword-argument
> require 'libfile' in Lib # with...
nobu (Nobuyoshi Nakada)
04:41 PM Misc #10312: Give people more control over how the ruby parser sees code and lexical code elements (valid/invalid - toggle options) + macros
Robert A. Heiler wrote:
> May be an option but I am not allowed to use a ' ' character?
>
> ~~~
> + jquery
> ...
nobu (Nobuyoshi Nakada)
03:25 PM Revision 273af335 (git): * .travis.yml: removed needless preparation for gcc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
03:09 PM Revision b9831d21 (git): * 2014-10-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:09 PM Revision bd4aa40f (git): NEWS: mentioned about [Bug #9593]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:41 PM Revision 5eed468b (git): * .travis.yml: enabled gcc build with osx on travis.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
02:27 PM Bug #10230 (Closed): make install fails with mingw ruby
Applied in changeset r47774.
----------
fake.rb.in: fix make install failure
* template/fake.rb.in: fix make instal...
Anonymous
02:27 PM Revision 438fb669 (git): fake.rb.in: fix make install failure
* template/fake.rb.in: fix make install failure due to MSYS path
with mingw on MSYS environment.
[ruby-core:64965...
h.shirosaki (Hiroshi Shirosaki)
12:02 PM Revision 5207d9f1 (git): * test/ruby/test_io.rb (TestIO#test_advise): avoid to infinite loop.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
12:02 PM Revision d36f3e3b (git): * .travis.yml: enabled test results of linux.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
09:52 AM Bug #10313 (Closed): Randomly build failure on Travis container.
Applied in changeset r47771.
----------
* test/ruby/test_io.rb (TestIO#test_advise): added workaround of fadvise(2)
...
hsbt (Hiroshi SHIBATA)
09:52 AM Revision 66b6179e (git): * test/ruby/test_io.rb (TestIO#test_advise): added workaround of fadvise(2)
with tmpfs and old linux kernel. [ruby-core:65355][Bug #10313]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@477...
hsbt (Hiroshi SHIBATA)
09:22 AM Revision bf1814d9 (git): * .travis.yml: Disabled to generate document on travis.
Reduce test running time.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
06:18 AM Bug #10310 (Rejected): Segmentation fault when trying to install bundle on Ruby 2.2.0dev
hsbt (Hiroshi SHIBATA)
06:00 AM Bug #10310: Segmentation fault when trying to install bundle on Ruby 2.2.0dev
Could anyone please close this?
hbd225 (Norimasa Ando)
05:59 AM Bug #10310: Segmentation fault when trying to install bundle on Ruby 2.2.0dev
When I use ruby 2.2.0dev (2014-10-03 trunk 47767) [x86_64-darwin12.0], I can install bundle without error so I think ... hbd225 (Norimasa Ando)
03:44 AM Revision 5b46b07b (git): * lib/matrix.rb: Add hstack & vstack methods.
Based on a by creasywuqiong. [Fix GH-344]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47769 b2dd03c8-39d...
Marc-Andre Lafortune
03:38 AM Revision f59098d1 (git): * lib/matrix.rb: Fix Matrix.rows copy bug.
by Arron Mabrey. [Fix GH-707]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47768 b2dd03c8-39d4-4d8f-98ff-...
Marc-Andre Lafortune
12:02 AM Bug #10257: Generate X.509 certificate/request/CRL with elliptic curve keys
I just ran across this issue as well. I monkey-ed in the private? method and was able to create the x509 cert, b... bnagy (Ben Nagy)

10/02/2014

10:44 PM Feature #10320 (Open): require into module
When requiring a library, global namespace always gets polluted, at least with one module name. So when requiring a g... sowieso (So Wieso)
09:17 PM Revision 1b5acebe (git): st.c (new_size): use next_pow2 function
Reduces object size slightly on x86-64:
text data bss dec hex filename
2782359 22400 71880 287...
Eric Wong
08:59 PM Revision 7f284516 (git): * 2014-10-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:59 PM Revision d2efc00b (git): vm_trace.c (rb_tp_t): pack 56 => 48 bytes on 64-bit
48 bytes is a common malloc size class on x86-64 machines which
require 16-byte alignment.
git-svn-id: svn+ssh://ci....
Eric Wong
08:52 PM Feature #10073: [] Implement Laplace expansion for matrix.
Just to be clear: you'd like me to wait for an updated , or should I make the small changes myself? marcandre (Marc-Andre Lafortune)
08:51 PM Feature #10072: [] Implement Vector.basis
Looks good, but I'm wondering if we should use named arguments as it's really difficult to remember the order without... marcandre (Marc-Andre Lafortune)
08:42 PM Feature #10319 (Closed): [] zlib: TypedData conversion
Pretty trivial, this adds internal type-checking and allows us to have a more
accurate view of memory usage. *memsi...
normalperson (Eric Wong)
07:03 PM Misc #10312: Give people more control over how the ruby parser sees code and lexical code elements (valid/invalid - toggle options) + macros
That sounds like heredoc syntax, which ruby already does. avit (Andrew Vit)
06:07 AM Misc #10312: Give people more control over how the ruby parser sees code and lexical code elements (valid/invalid - toggle options) + macros
Sorry, the `__END__` seemed to become bold - that was not
intentionally, I hope you guys still understand what I
w...
shevegen (Robert A. Heiler)
06:06 AM Misc #10312: Give people more control over how the ruby parser sees code and lexical code elements (valid/invalid - toggle options) + macros
I would also like to point out that there are already some
limited or perhaps indirect ways to "control" the parser,...
shevegen (Robert A. Heiler)
06:58 PM Misc #10278: [RFC] st.c: use ccan linked list
A fixup for packed => unpacked transitions:

http://80x24.org/spew/m/st-ccan-ll-fixup-1%4080x24.org.txt

T...
normalperson (Eric Wong)
06:45 PM Feature #10318 (Open): [ 0/n] Let underscore be positionally matched arg to omit binding obvious variable.
I’m so sorry for just proposing this future without right now ...
(I suppose it contains too much issues.)
...
gogotanaka (Kazuki Tanaka)
05:01 PM Bug #10315: Override policy for duplicated keywords
Agreed.
Matz.
matz (Yukihiro Matsumoto)
06:22 AM Bug #10315 (Closed): Override policy for duplicated keywords

```ruby
p({k1: 'a', k1: 'b'}) #=> {:k1=>"b"}
p({k1: 'a'}.merge({k1: 'b'})) #=> {:k1=>"b"}
p(k1: 'a', k1:...
ko1 (Koichi Sasada)
02:37 PM Bug #10317: JSON::State is not using the parameter space_before
Just adding a that fixes the issue mmacvicar (Michael Mac-Vicar)
02:03 PM Bug #10317 (Third Party's Issue): JSON::State is not using the parameter space_before
The parameter space_before, documented as a string that is put before a : pair delimiter, is never used. mmacvicar (Michael Mac-Vicar)
10:06 AM Feature #10316 (Rejected): Failsafe CSV.foreach
I've been looking for a CSV.foreach equivalent which either
- ignores malformed CSV rows
- or returns a nil row or ...
tramuntanal (Oliver Valls)
09:42 AM Revision 56fa18c9 (git): * ext/etc/etc.c (etc_nprocessors): Windows support.
see [Feature #10267]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
08:57 AM Revision fe18cd01 (git): test_advice show OS and filesystem when failed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
05:19 AM Bug #10314: Default argument lookup fails in Ruby 2.2 for circular shadowed variable names
Loren Segal wrote:
> 1. This seems like a breaking change in Ruby 2.2.0-preview1 that was not announced in the chang...
ko1 (Koichi Sasada)
01:53 AM Bug #10314 (Closed): Default argument lookup fails in Ruby 2.2 for circular shadowed variable names
The following code prints `nil` in Ruby 2.2.0-preview1 but worked in all previous version of Ruby back to 1.8.7:
~...
lsegal (Loren Segal)
03:28 AM Revision 253bd7b1 (git): Describe Etc.nprocessors.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:26 AM Feature #10267: Number of processors
Ok.
It seems that there is no problem with the method name, Etc.nprocessors.
So I committed my (etc-nproc...
akr (Akira Tanaka)
03:23 AM Feature #10267 (Closed): Number of processors
Applied in changeset r47761.
----------
* ext/etc/etc.c (etc_nprocessors): New method.
Accepted by matz at RubyKai...
akr (Akira Tanaka)
03:23 AM Revision 7b25bd8b (git): * ext/etc/etc.c (etc_nprocessors): New method.
Accepted by matz at RubyKaigi 2014.
[ruby-core:65142] [Feature #10267]
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
akr (Akira Tanaka)
03:12 AM Bug #10313: Randomly build failure on Travis container.
[email protected] wrote:
> We tested ruby trunk every commits, but it failed randomly with linux container ...
normalperson (Eric Wong)
01:42 AM Bug #10313 (Closed): Randomly build failure on Travis container.
We tested ruby trunk every commits, but it failed randomly with linux container on travis.
build log is here: http...
hsbt (Hiroshi SHIBATA)

10/01/2014

11:03 PM Revision 57da36eb (git): iseq.c (rb_iseq_line_trace_each): explicit cast
Fix https://travis-ci.org/ruby/ruby/jobs/36814282
Tested with -Wconversion since my gcc lacks -Wshorten-64-to-32
git...
Eric Wong
09:49 PM Feature #10267: Number of processors
Thanks Eric.
I also found a design issue in my . So, I wrote v2 from scratch.
kosaki (Motohiro KOSAKI)
09:20 PM Feature #10267: Number of processors
[email protected] wrote:
> I wrote an incrementa on top of akr's etc-nprocessors3. for this purp...
normalperson (Eric Wong)
09:00 PM Feature #10267: Number of processors
> kosaki-san said he will improve the method for container on GNU/Linux.
> (If a process is run in a container, usab...
kosaki (Motohiro KOSAKI)
09:20 PM Misc #10249: [] set rb_event_flag_t to uint32_t
[email protected] wrote:
> I'm not sure why it is valuable, but no problem to do it.

Committed r47759 - This can ope...
normalperson (Eric Wong)
09:13 PM Revision 11f35267 (git): ruby.h: set rb_event_flag_t to uint32_t
This ensures a consistent implementation between 32 and 64-bit
platforms, as vm_trace.c limits events to 32-bits. Th...
Eric Wong
08:36 PM Revision 3aab1f84 (git): io.c (fptr_finalize): free memory before GC sweep
This releases memory on explict calls to rb_io_close,
reducing pressure on the GC.
Final massif snapshot shows reduc...
Eric Wong
08:29 PM Revision cfc56579 (git): * 2014-10-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:29 PM Revision a17ffebf (git): marshal.c: lazy compat_tbl allocation
In some common cases, compat_tbl is unused in dump_arg/load_arg,
so avoid malloc/free costs for the unused table.
ru...
Eric Wong
07:14 PM Misc #10312: Give people more control over how the ruby parser sees code and lexical code elements (valid/invalid - toggle options) + macros
Hi,
The problem is that they are extremely similar to the other solutions
such as:
~~~
jquery :+
~~~
Li...
shevegen (Robert A. Heiler)
06:44 PM Misc #10312: Give people more control over how the ruby parser sees code and lexical code elements (valid/invalid - toggle options) + macros
Here are a couple of options for your use case, if you want terse syntax that is valid ruby:
jquery.+
jquery....
jeremyevans0 (Jeremy Evans)
06:28 PM Misc #10312 (Open): Give people more control over how the ruby parser sees code and lexical code elements (valid/invalid - toggle options) + macros
Hi,
I am aware that this proposal has most likely not a chance for
implementation, but I'd still like to make it ...
shevegen (Robert A. Heiler)
05:48 PM Feature #10064: &:symbol in when clause
Yukihiro Matsumoto wrote:
> The original idea includes dis based on type (Symbol), which is not a good idea in ...
marcandre (Marc-Andre Lafortune)
09:47 AM Feature #10064: &:symbol in when clause
What about allowing syntax like this:
~~~ruby
->&Proc.new{|y| y.zero?} #=> Should be equivalent to ->{|x| x.zero?...
sawa (Tsuyoshi Sawada)
04:34 PM Bug #10311: Segmentation fault when starting rails server (2.2.0-preview1 & 4.2.0-beta2)
upd.
I also tried new rails project with postgresql database and I got seg. fault with byebug now.
After removing...
gazay (Alex Gaziev)
04:14 PM Bug #10311 (Closed): Segmentation fault when starting rails server (2.2.0-preview1 & 4.2.0-beta2)
I've just installed `ruby 2.2.0-preview1` with `ruby-install` (I'm not using `rvm`/`rbenv`, just `ruby-install` and `... gazay (Alex Gaziev)
03:14 PM Bug #10310 (Rejected): Segmentation fault when trying to install bundle on Ruby 2.2.0dev
Hi, I've encountered following error when I tried to gem install bundle.
I'm not sure what's going on so I just atta...
hbd225 (Norimasa Ando)
12:16 PM Revision 3b841719 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:16 PM Revision 8d00b43b (git): ext/win32ole/win32ole_type.c: use typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e suke (Masaki Suketa)
11:44 AM Feature #4147: Array#sample で重みを指定したい
gogo tanaka wrote:
> こんにちは.
>
> 大変昔の話を掘り返すようで恐縮ですが、こちらてパッチを書いたら取り込まれる可能性てございますか?
> (もちろんそのパッチ如何によるんでしょうが)
>
>...
naruse (Yui NARUSE)
03:34 AM Feature #4147: Array#sample で重みを指定したい
こんにちは.
大変昔の話を掘り返すようで恐縮ですが、こちらてパッチを書いたら取り込まれる可能性てございますか?
(もちろんそのパッチ如何によるんでしょうが)
まずはパッチ書いてからにしろという話なら申し訳ございません、
...
gogotanaka (Kazuki Tanaka)
09:15 AM Revision 2b0cc32c (git): * compile.c: remove commented out code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
08:48 AM Revision f17b95f2 (git): test/fileutils/test_fileutils.rb: AIX does not allow a sticky bit on a regular file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Rei Odaira
08:33 AM Revision 1c916105 (git): Fix typo in ChangeLog header
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
08:32 AM Revision b9ef91ef (git): * NEWS: Add RubyGems update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
08:30 AM Revision 69368346 (git): * 2014-10-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:30 AM Revision cec4f5a9 (git): * lib/rubygems: Update to RubyGems 2.4.2.
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
08:07 AM Bug #10309 (Rejected): Unexpected keyword parameters becomes an additional mandatory parameter
Ah, I'm sorry. It is duplicated ticket (I can't find another ticket).
My misunderstanding.
ko1 (Koichi Sasada)
06:44 AM Bug #10309 (Rejected): Unexpected keyword parameters becomes an additional mandatory parameter
Is it an intentional behaviour?
```ruby
def foo a, b, c, k1: 1
p [a, b, c, k1]
end
foo 1, 2, {k1: 3, k2: 4...
ko1 (Koichi Sasada)
05:04 AM Feature #10298: Array#float_sum (like math.fsum of Python)
Timing.
Of course it is fast.
```
$ uname -sprsv
Darwin 13.3.0 Darwin Kernel Version 13.3.0: Tue Jun 3 21:27:3...
t-nissie (Takeshi Nishimatsu)
12:13 AM Feature #10095: Object#as
Andrew Vit wrote:
> This feature also looks a lot like a pipeline.
>
> Here are some examples how people implemen...
baweaver (Brandon Weaver)

09/30/2014

11:21 PM Feature #10308: Pipes in Ruby
Related: #10095 avit (Andrew Vit)
10:06 PM Feature #10308 (Open): Pipes in Ruby
Much akin to the Unix and Elixir piping, I think it would be an interesting feature to consider in Ruby.
There hav...
baweaver (Brandon Weaver)
01:25 PM Revision ffe920d6 (git): parse.y: separate ripper data type
* parse.y (parser_data_type): separate ripper data type for from
parser.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
nobu (Nobuyoshi Nakada)
01:10 PM Feature #9999: Type Annotations (Static Type Checking)
I like the principal idea behind it.
For instance, today I wrote ruby code like this (yes, hate me for using set_ ...
shevegen (Robert A. Heiler)
09:47 AM Revision d7b32ffd (git): * ext/win32ole/win32ole_typelib.c: use typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e suke (Masaki Suketa)
09:20 AM Feature #10274: [ 0/2] more rb_iseq_t reductions (and more planned)
I reject 0002, but I don't think 0001 hurts readability.
I will update arg_simple to 0..3 from nobu's comment.
normalperson (Eric Wong)
08:29 AM Revision b208e060 (git): ext/digest: hide metadata objects for internal use
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:25 AM Revision 28b9f11d (git): protoize no-arguments functions
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:13 AM Bug #10306 (Feedback): BigNum error
What result did you get?
The word "obvious" is not obvious.
nobu (Nobuyoshi Nakada)
02:30 AM Bug #10306: BigNum error
On Darwin (Mac OS X), I made miniruby with /usr/bin/cc and /usr/local/bin/gcc (gcc-4.8.2 installed by myself).
I got...
t-nissie (Takeshi Nishimatsu)
01:17 AM Revision cf5450bb (git): common.mk: mark PHONY targets
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:17 AM Revision d2be0297 (git): common.mk: update only non-existing files
* common.mk (update-config_files): update only non-existing files,
and get rid of trying to download existing files...
nobu (Nobuyoshi Nakada)
12:51 AM Revision f2673b8c (git): * 2014-09-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:51 AM Revision d3a405b9 (git): * common.mk: fixed broken reference of update-config_files task
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)

09/29/2014

08:26 PM Misc #10307 (Closed): Add doc for Array.reject, it maintains ordering
Hi, I'm trying to follow the instructions in http://documenting-ruby.org/step-by-step-guide.html for submitting docum... nebu (Nebu Pookins)
06:45 PM Bug #10306: BigNum error
Cannot be reproduced on ruby 2.1.3p242 (2014-09-19 revision 47630) [x86_64-linux]. I get the correct result:
1...
sawa (Tsuyoshi Sawada)
04:46 PM Bug #10306 (Closed): BigNum error
Some calculations are wrong when dealing with large bignums.
For example, try 1000000000 ** 99, the result is obvi...
Nax (Max Bacoux)
02:13 PM Revision ef9d1349 (git): racc/cparse: private class
* ext/racc/cparse/cparse.c (Init_cparse): Racc::CparseParams is a
private class, undefine allocate and initialize m...
nobu (Nobuyoshi Nakada)
02:05 PM Feature #10305 (Open): Method for resolving all autoload statements / Add warning on autoload when used with chroot
Hi everyone,
I’m currently trying to make my way to create a chrooted process using Dir.chroot. However, once thes...
Quintus (Marvin Gülker)
01:54 PM Revision edae1c72 (git): win32/file.c: fix no user exception
* win32/file.c (append_wstr): set expanded length, not length of
appended string. fix "probable buffer overflow" b...
nobu (Nobuyoshi Nakada)
01:54 PM Bug #10304 (Closed): File.expand_path crashes with tilde on Windows
Applied in changeset r47737.
----------
string.c: fix NOFREE
* string.c (str_make_independent_expand): drop NOFREE ...
nobu (Nobuyoshi Nakada)
09:43 AM Bug #10304 (Closed): File.expand_path crashes with tilde on Windows
`File.expand_path` crashes with user home which starts with tilde using mingw ruby.
`TestFileExhaustive#test_expan...
h.shirosaki (Hiroshi Shirosaki)
01:54 PM Revision ef08f005 (git): string.c: fix NOFREE
* string.c (str_make_independent_expand): drop NOFREE flag after
reallocation, static buffer is not pointed anymore...
nobu (Nobuyoshi Nakada)
12:17 PM Revision 2f2f92b7 (git): digest: no check for hidden objects
* ext/digest/digest.c (get_digest_base_metadata): metadata objects
are hidden from ruby level.
git-svn-id: svn+ssh...
nobu (Nobuyoshi Nakada)
12:06 PM Bug #10300: Encoding error in conversion from UTF-16LE to UTF-8 to CP850
Hello,
I just experienced the same problem than Guillaume on Windows 7 and tried your . It solved the problem...
nanarth (Adrien Bernhardt)
08:38 AM Feature #10274: [ 0/2] more rb_iseq_t reductions (and more planned)
-1 because of readability.
But it is possible that nobody reads it.
I don't against it but I may fix it later.
ko1 (Koichi Sasada)
08:09 AM Feature #10274: [ 0/2] more rb_iseq_t reductions (and more planned)
`arg_simple` is 0..3, not 0..2. nobu (Nobuyoshi Nakada)
08:34 AM Misc #10249: [] set rb_event_flag_t to uint32_t
I'm not sure why it is valuable, but no problem to do it.
ko1 (Koichi Sasada)
08:10 AM Bug #6785 (Open): Documentation for RubyVM::InstructionSequence
Please mark they are implementaton and version dependent methods.
ko1 (Koichi Sasada)
07:44 AM Feature #10295: [] io.c (fptr_finalize): free memory (before GC sweep)
+1.
ko1 (Koichi Sasada)
07:16 AM Feature #10238: todo: remove dependency on malloc_usable_size
Eric Wong wrote:
> malloc_usable_size shows up at or near the top of many profiles for me.
We can check the perfo...
ko1 (Koichi Sasada)
05:57 AM Misc #10297 (Closed): r47670 make benchmark/bm_vm_thread_create_join.rb slow
確認ありがとうございます。
> ハングしたときとかにスレッドが何者なのか ps で見れるようにするコストということでどうかなぁ。
そうですね。では閉じておきます。
authorNari (Narihiro Nakamura)
02:20 AM Revision b5de461a (git): date_core.c: revert const
* ext/date/date_core.c (SimpleDateData, ComplexDateData): revert
const for aggregation assignments.
git-svn-id: sv...
nobu (Nobuyoshi Nakada)
01:45 AM Revision cedc0d1f (git): date_core.c: more write-barriers
* ext/date/date_core.c (SimpleDateData, ComplexDateData): constify
VALUE members to find out missing write-barriers...
nobu (Nobuyoshi Nakada)
12:49 AM Revision 036acdab (git): date_core.c: write-barrier
* ext/date/date_core.c (d_lite_type): add write-barrier.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47733 b2d...
nobu (Nobuyoshi Nakada)
12:49 AM Revision e912c167 (git): date_core.c: typed data
* ext/date/date_core.c (d_lite_type): turn into typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47732 ...
nobu (Nobuyoshi Nakada)

09/28/2014

09:47 PM Revision a05330f4 (git): tool/downloader.rb: fix for old ruby on old CentOS
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:27 PM Revision c47b5232 (git): ruby.h: warn untyped Data
* include/ruby/ruby.h (rb_data_object_alloc_warning): warn
Data_Wrap_Struct and Data_Make_Struct only if
RUBY_UNT...
nobu (Nobuyoshi Nakada)
03:26 PM Revision ae7eb5fe (git): downloader.rb: compatibility with old BASERUBY
* tool/downloader.rb (Downloader.download): get rid of post
arguments for compatibility with old BASERUBY.
git-svn...
nobu (Nobuyoshi Nakada)
03:09 PM Revision f4940421 (git): * 2014-09-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:09 PM Revision 90e99bea (git): * gc.c (rb_gcdebug_print_obj_condition): use RVALUE_REMEMBERED
because GET_HEAP_REMEMBERSET_BITS is obsoleted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47727 b2dd03c8-39d...
ktsj (Kazuki Tsujimoto)
12:42 PM Misc #10297 (Feedback): r47670 make benchmark/bm_vm_thread_create_join.rb slow
なるほど。たしかに遅くなっているようです。
strace でみると、周辺の処理に比べて桁違いに時間がかかっているわけではないようなので、
ハングしたときとかにスレッドが何者なのか ps で見れるようにするコストということでどう...
akr (Akira Tanaka)
12:39 PM Bug #10301: All version of Ruby core dump in ethon running wpstools (wpscan)
https://.com/typhoeus/ethon/issues/91 - ethon bug. Recorded here for reference. dfavor (David Favor)
12:58 AM Bug #10301 (Third Party's Issue): All version of Ruby core dump in ethon running wpstools (wpscan)
`ethon` seems using `ffi`.
Ruby is not answerable for libraries using `ffi`.
Ask `ethon` developers.
nobu (Nobuyoshi Nakada)
11:49 AM Bug #10303 (Closed): rb_data_type_t need to be described in README.EXT
because untyped Data will be "deprecated" in the future, and TypedData is now more than 4 years old,
add an howto in...
Hanmac (Hans Mackowiak)
11:27 AM Revision 1c01280d (git): downloader.rb
* configure.in: use tool/downloader.rb directly.
* tool/get-config_files: no longer used.
git-svn-id: svn+ssh://ci....
nobu (Nobuyoshi Nakada)
04:46 AM Feature #10302: [] marshal.c: lazy compat_tbl allocation
Seems fine. nobu (Nobuyoshi Nakada)
03:34 AM Feature #10302 (Closed): [] marshal.c: lazy compat_tbl allocation
Will commit in a few days.
In some common cases, `compat_tbl` is unused in `dump_arg`/`load_arg`,
so avoid malloc...
normalperson (Eric Wong)
04:20 AM Feature #10238: todo: remove dependency on malloc_usable_size
[email protected] wrote:
> If it's a `Fixnum`, the size should be 0 for NULL `ptr`.
I was under the impression D...
normalperson (Eric Wong)
03:23 AM Feature #10238: todo: remove dependency on malloc_usable_size
If it's a `Fixnum`, the size should be 0 for NULL `ptr`.
`enc_memsize` seems unnecessary anyway, indeed.
nobu (Nobuyoshi Nakada)
03:17 AM Feature #10238: todo: remove dependency on malloc_usable_size
I'm not sure if function pointers are guaranteed to be word-aligned. nobu (Nobuyoshi Nakada)
02:29 AM Feature #10238: todo: remove dependency on malloc_usable_size
[email protected] wrote:
> One possible improvement is to allow the rb_data_type_t->dsize pointer
> to be a FI...
normalperson (Eric Wong)
02:54 AM Revision 3bbea8ed (git): tool/downloader.rb: split particular sites
* tool/downloader.rb (Downloader): split particular sites from the
main class.
* tool/downloader.rb (Downloader.do...
nobu (Nobuyoshi Nakada)
02:14 AM Revision ceb32c67 (git): * 2014-09-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:14 AM Revision 69cbd810 (git): common.mk: Created new target update-unicode to download
some Unicode data files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
duerst (Martin Dürst)
02:12 AM Bug #10300 (Feedback): Encoding error in conversion from UTF-16LE to UTF-8 to CP850
Or from `FormatMessage`?
Can you try with this ?
~~~
index 74cc77d..4df59a9 100644
--- a/ext/win32/...
nobu (Nobuyoshi Nakada)

09/27/2014

11:55 PM Bug #10300: Encoding error in conversion from UTF-16LE to UTF-8 to CP850
There is no bug in the conversion from (UTF-16LE to) UTF-8 to CP850. CP850 simply doesn't contain U+2019 (RIGHT SINGL... duerst (Martin Dürst)
03:01 PM Bug #10300 (Closed): Encoding error in conversion from UTF-16LE to UTF-8 to CP850
Hello,
I downloaded Ruby 2.1.3 from http://rubyinstaller.org/downloads/ and tried to install gems:
~~~
$ gem i...
ggrossetie (Guillaume GROSSETIE)
04:00 PM Bug #10301 (Third Party's Issue): All version of Ruby core dump in ethon running wpstools (wpscan)
Seems like this is a bug, as an error or warning should be produced rather than Ruby core dumping.
Same behavior e...
dfavor (David Favor)
12:30 PM Bug #10299 (Closed): alias_method :new_foo=, :"#{:foo}=" doesn't work properly on ruby 2.2.0preview1.
nobu (Nobuyoshi Nakada)
08:55 AM Bug #10299 (Closed): alias_method :new_foo=, :"#{:foo}=" doesn't work properly on ruby 2.2.0preview1.
Here is reproducible script.
~~~ruby
class Test
class << self
def test
alias_method :new_foo=, :"#...
hbd225 (Norimasa Ando)
08:34 AM Bug #10276: nil/true/false に singleton メソッドを定義できてしまう
frozen なオブジェクトに特異クラスが作成できるかどうかも統一されていないようですが、そういうものなのでしょうか?
~~~
>> RUBY_DESCRIPTION
=> "ruby 2.2.0dev (2014-09-2...
znz (Kazuhiro NISHIYAMA)
08:17 AM Revision 4d2aef1e (git): rbinstall.rb: header targets
* tool/rbinstall.rb: separate header targets, comm-hdr for
architecture independent headers, arch-hdr for architect...
nobu (Nobuyoshi Nakada)
07:44 AM Feature #10073: [] Implement Laplace expansion for matrix.
@Marc-Andre Lafortune
Thank you very much for responding.
```
m.laplace_expansion(row: k-1) == m.laplace_expa...
gogotanaka (Kazuki Tanaka)
07:35 AM Feature #10042: Deprecate postfix rescue syntax for removal in 3.0
Got it, this is what I proposed:
~~~ruby
do_messy_job resc TypeError: 42, NameError: 43
~~~
Anonymous
07:32 AM Feature #10042: Deprecate postfix rescue syntax for removal in 3.0
Nooo! Don't remove tail rescue! I suggested to introduce tail "resc" keyword with exception to be rescued somewhere h... Anonymous
03:13 AM Bug #10150 (Closed): Tiny URI.parse error incompatibility
Applied in changeset r47721.
----------
* lib/uri/rfc3986_parser.rb: raise URI::InvalidURIError when
uri doesn't r...
Anonymous
03:13 AM Revision a4645e56 (git): * lib/uri/rfc3986_parser.rb: raise URI::InvalidURIError when
uri doesn't respond to #to_str. [ruby-core:64453] [Bug #10150]
* test/uri/test_parser.rb: test for above.
git-svn-i...
Glass_saga (Masaki Matsushita)
01:34 AM Revision dd798a68 (git): * gems/bundled_gems: upgraded to power_assert 0.1.4.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
01:30 AM Revision 15ae462d (git): digest.c: typed data
* ext/digest/digest.c (rb_digest_base_alloc): use typed data.
* ext/digest/digest.c (rb_digest_base_copy): fail unle...
nobu (Nobuyoshi Nakada)
01:28 AM Revision 851c2f2d (git): * 2014-09-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:28 AM Revision bb10a213 (git): ruby.h: deprecate plain Data
* include/ruby/ruby.h (rb_data_object_alloc_deprecated): deprecate
Data_Make_Struct and Data_Wrap_Struct. [EXPERIM...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom