Project

General

Profile

Activity

From 08/31/2016 to 09/06/2016

09/06/2016

11:23 PM Feature #12655: Accessing the method visibility
Thanks Shyouhei! I believe I need the 2 methods Nobu has implemented in this patch here to implement Looksee entirely... oggy (George Ogata)
09:23 PM Feature #12142: Hash tables with open addressing
Yura Sokolov wrote:
> Vladimir's branch sometimes faster cause it uses simplified (but fast on 64bit)
> unseeded ha...
vmakarov (Vladimir Makarov)
09:12 PM Feature #12142: Hash tables with open addressing
Satoru Horie wrote:
>
> I run benchmarks on my environment. The result are following.
>
Thank you for benchma...
vmakarov (Vladimir Makarov)
08:39 PM Bug #12402: Inline rescue behavior inconsistent for method calls with arguments and assignment
Will this be backported? whitequark (whitequark *)
07:53 PM Misc #12730: Documentation String.slice!(regex)
James Britt Pointed out to me that:
> The example in the docs shows a sequence of operations on the same string in...
cody-soultz (Cody Soultz)
07:43 PM Misc #12730 (Rejected): Documentation String.slice!(regex)
at http://ruby-doc.org/core-2.2.0/String.html#method-i-slice-21
In the example
string = "this is a string"
strin...
cody-soultz (Cody Soultz)
06:26 PM Bug #12729 (Closed): crash after refining private method to public
If I am using a refinement to make a private method into a public one, and I call the method, then Ruby crashes. Here... kernigh (George Koehler)
01:54 PM Bug #12728 (Rejected): Negative lookahead does not work for "+" even though works for "@"
I'll attach a test program that shows the effect. Basically, if I have a negative lookahead in the regex like (?!@) ... rklemme (Robert Klemme)
01:41 PM Bug #12727 (Rejected): Segfault when subclassing Thread with bad initialize
nobu (Nobuyoshi Nakada)
12:28 PM Bug #12727 (Rejected): Segfault when subclassing Thread with bad initialize
I imagine that this is a really unlikely problem to encounter in real code, but...
~~~ ruby
class MyThing < Threa...
sandal (Gregory Brown)
05:21 AM Feature #12676: Significant performance increase, and code conciseness, for prime_division method in prime.rb
Here is an additional coding efficiency speedup.
By testing whether the number is prime or '1' immediately after e...
jzakiya (Jabari Zakiya)
03:10 AM Revision f0dc29f2 (git): socket/depend: add srcs [ci skip]
* ext/socket/depend (srcs): phony target to update confdefs source
files.
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
nobu (Nobuyoshi Nakada)
03:03 AM Revision 38cb576b (git): common.mk: fix path arguments [ci skip]
* common.mk (ext/date/zonetab.h): fix inverted relative path
arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
nobu (Nobuyoshi Nakada)
01:21 AM Revision a260f093 (git): * time.c (obj2subsecx): subsec might be GC'ed. try to get rid of SEGV on mswin
CI.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
12:23 AM Revision a4ba131a (git): * 2016-09-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:23 AM Revision 192be6f6 (git): * lib/rdoc/rdoc.gemspec: partly reverted for default gem installer.
upstream configuration is not working on ruby core repository.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@560...
hsbt (Hiroshi SHIBATA)

09/05/2016

12:46 PM Bug #12726 (Closed): OpenSSL::PKCS12.new がプライベートキーを含まないデータでエラーになる
ありがとうございます。
同様に x509 も NULL になる場合があり、それもあわせて ruby/openssl に取り込みました。
https://github.com/ruby/openssl/commit/68ca...
rhenium (Kazuki Yamaguchi)
06:45 AM Bug #12726 (Closed): OpenSSL::PKCS12.new がプライベートキーを含まないデータでエラーになる
次のように作成したプライベートキーを含まない pfx ファイルを、
```
% openssl pkcs12 -export -out hoge.pfx -in hoge.pem -nokeys
Enter Export P...
tommy (Masahiro Tomita)
12:08 PM Feature #12142: Hash tables with open addressing
Vladimir's branch sometimes faster cause it uses simplified (but fast on 64bit)
unseeded hash for FIXNUM and FLOAT. ...
funny_falcon (Yura Sokolov)
01:09 AM Feature #12142: Hash tables with open addressing
Hello, everyone.
I want to help to merge these excellent results into trunk.
I’m now reviewing both codes, and tr...
spinute (Satoru Horie)
10:35 AM Revision 73dc9742 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:35 AM Revision 23863ff7 (git): * lib/rdoc/*, test/rdoc/*: Update rdoc/rdoc master(f191513)
https://github.com/rdoc/rdoc/blob/master/History.rdoc#423--2016--
https://github.com/rdoc/rdoc/blob/master/History....
hsbt (Hiroshi SHIBATA)
05:14 AM Bug #12725: Trying to use ./miniruby before it exists
When trying to compile ruby from a fresh checkout, with the Unicode version changed to 9.0.0, I get the following err... duerst (Martin Dürst)
05:04 AM Bug #12725 (Assigned): Trying to use ./miniruby before it exists
duerst (Martin Dürst)
02:58 AM Feature #12719: `Struct#merge` for partial updates
Update ChangeLog halogenandtoast (Matthew Mongeau)
01:22 AM Feature #12719: `Struct#merge` for partial updates
Since merge closely resembles the similar hash function, I think it makes sense to also add `merge!` as a function. I... halogenandtoast (Matthew Mongeau)
01:35 AM Bug #12724 (Closed): Net::HTTP#post_form and #get_response do not use ENV proxy as default
`Net::HTTP#post_form` and `#get_response` use `HTTP.start`, without passing any proxy args to it. As a result, the EN... aert (Aert van de Hulsbeek)
12:58 AM Revision 0d715e1b (git): * 2016-09-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:58 AM Revision b08a4552 (git): rbinstall.rb: install just one gemspec [ci skip]
* tool/rbinstall.rb (gem): install gemspec match with the
directory only. some gems, (e.g., json) have multiple ge...
nobu (Nobuyoshi Nakada)

09/04/2016

04:59 PM Feature #12317: Name space of a module
I guess the core question is "what is a namespace?"
For example, take this Ruby code:
~~~ruby
foo = Class.new
...
jwmittag (Jörg W Mittag)
04:40 PM Feature #12578: Instance Variables Assigned In parameters ( ala Crystal? )
By the way, just as a historical note: up to and including Ruby 1.8.7, you could actually do this:
~~~ruby
define...
jwmittag (Jörg W Mittag)
04:35 PM Feature #12607: Ruby needs an atomic integer
Tsuyoshi Sawada wrote:
> Do we want to have another integer variant just after having `Fixnum` and `Bignum` been exc...
jwmittag (Jörg W Mittag)
04:27 PM Feature #12721: public_module_function
If `module_function` returned its argument(s), we could write
~~~ruby
module Foo
public module_function def hi...
jwmittag (Jörg W Mittag)
04:21 PM Misc #12722: Localizing Ruby
Is that really necessary? Sure, the keywords are derived from English, but they aren't English, they are Ruby. `class... jwmittag (Jörg W Mittag)
01:36 AM Misc #12722: Localizing Ruby
To change "reserved words", you have to modify (or add) `defs/keywords` file and rebuild.
And if your words contain ...
nobu (Nobuyoshi Nakada)
04:21 PM Bug #12670: Segmentation fault on `Magick::Image#get_pixels` on ruby since ruby-2.2
I got it.
SEGV is raised from gc_marks_continue(), line 5426: `slots = heap->free_pages->free_slots`,
as pointed by...
wanabe (_ wanabe)
06:25 AM Revision 2f4f4435 (git): rbinstall.rb: install iff expected platforms [ci skip]
* tool/rbinstall.rb (gem): install only gemspecs for expected
platforms. e.g., ignore json-java.gemspec in json ge...
nobu (Nobuyoshi Nakada)
06:15 AM Revision 162a8fdb (git): rbinstall.rb: chdir to gem directory [ci skip]
* tool/rbinstall.rb (gem): load gemspec files under each
directories, since some gemspecs read files there.
git-sv...
nobu (Nobuyoshi Nakada)
05:27 AM Revision 9a136301 (git): extmk.rb: no ext, no build_complete
* ext/extmk.rb (create_makefile): touch gem.build_complete only if
building an extension library.
git-svn-id: svn+...
nobu (Nobuyoshi Nakada)
05:05 AM Revision 2dad8eae (git): extmk.rb: fix gem.build_complete location
* ext/extmk.rb (timestamp_file): make build_complete file at the
toplevel of the gem directory without target_prefi...
nobu (Nobuyoshi Nakada)
04:56 AM Revision fb2011f7 (git): extmk.rb: expand target_prefix
* ext/extmk.rb (timestamp_file): should expand target_prefix in
timestamp file name.
git-svn-id: svn+ssh://ci.ruby...
nobu (Nobuyoshi Nakada)
04:44 AM Revision f578e023 (git): extmk.rb: append target_prefix
* ext/extmk.rb (timestamp_file, create_makefile): should append
target_prefix as RUBYARCHDIR does.
git-svn-id: svn...
nobu (Nobuyoshi Nakada)
02:35 AM Bug #12718 (Assigned): BigDecimal() should raise on invalid input, consistent with Integer() and Float()
nobu (Nobuyoshi Nakada)

09/03/2016

09:32 PM Misc #12722 (Third Party's Issue): Localizing Ruby
I would like to teach Ruby in kids. However, the kids I am aiming for don't speak English and their age is below 10. ... vasilakisfil (Filippos Vasilakis)
03:21 PM Revision 14d538d2 (git): * 2016-09-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:21 PM Revision ba32b53e (git): * proc.c: [DOC] fix Object#define_singleton_method and
main.define_method return value. [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56062 b2dd03c8-39d4-4d...
Sho Hashimoto
06:07 AM Feature #12721: public_module_function
```ruby
class Bar
include Foo
public :hi
end
```
nobu (Nobuyoshi Nakada)
05:08 AM Feature #12721 (Rejected): public_module_function
Hello ruby core,
This is about `module_function()`. As the documentation rightfully
states, it adds a private met...
shevegen (Robert A. Heiler)
02:28 AM Revision e63546fb (git): * 2016-09-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:28 AM Revision dcc24cef (git): thread_pthread.c: check stack on co-routine case
* thread_pthread.c (ruby_init_stack): check stack bounds even if
get_main_stack succeeded, on the "co-routine" case...
nobu (Nobuyoshi Nakada)
01:37 AM Feature #12719: `Struct#merge` for partial updates
Updated so it won't segfault halogenandtoast (Matthew Mongeau)

09/02/2016

08:20 PM Feature #12676: Significant performance increase, and code conciseness, for prime_division method in prime.rb
A simplification.
Because the cli command ``factor`` handles the values '0' and '1' correctly we can
eliminate th...
jzakiya (Jabari Zakiya)
07:48 PM Feature #12142: Hash tables with open addressing
Eric Wong wrote:
> ko1, nobu, others anybody have time to review and compare these
> hash implementations?
>
>...
vmakarov (Vladimir Makarov)
06:44 PM Feature #12142: Hash tables with open addressing
ko1, nobu, others anybody have time to review and compare these
hash implementations?

I've been using vmakarov's...
normalperson (Eric Wong)
04:22 PM Feature #12719: `Struct#merge` for partial updates
Thanks, nice catch. I'll update this tomorrow to not segfault. halogenandtoast (Matthew Mongeau)
03:38 PM Feature #12719: `Struct#merge` for partial updates
In your example, the value in the LHS is ignored when the same key is present in the RHS hash.
It doesn't feel nice ...
nobu (Nobuyoshi Nakada)
01:11 PM Feature #12719: `Struct#merge` for partial updates
As an alternative since the `|` syntax might get shot down. Here's a patch adding a merge function instead:
~~~ ru...
halogenandtoast (Matthew Mongeau)
09:32 AM Feature #12719: `Struct#merge` for partial updates
If this is well received I think a similar syntax could be used for hashes in place of `merge`. halogenandtoast (Matthew Mongeau)
09:27 AM Feature #12719 (Feedback): `Struct#merge` for partial updates
Other languages have operators for performing partial updates on maps. I feel like Struct could be more useful if it ... halogenandtoast (Matthew Mongeau)
03:28 PM Feature #6183: Enumerator::Lazy performance issue
I rebased the branch (and fixed a bug in the trunk).
Seems 30~40% faster than the current implementation.
nobu (Nobuyoshi Nakada)
10:56 AM Bug #12720 (Third Party's Issue): Ruby segmentation issue
=> Booting Thin => Rails 4.2.6 application starting in development on http://localhost:4000 => Run rails server -h fo... ajithkumar (ajith kumar)
07:07 AM Revision 7615362d (git): internal.h: fix typos
* internal.h (MEMO_V1_SET, MEMO_V2_SET): fix typos. use the macro
parameter, not the local variable.
git-svn-id: ...
nobu (Nobuyoshi Nakada)

09/01/2016

06:10 PM Feature #6183: Enumerator::Lazy performance issue
As of today, Enumerable::Lazy is pretty much still unused because of the performance hit. Is there anything I could d... fbernier (François Bernier)
03:55 PM Revision 4f40dafe (git): * 2016-09-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:55 PM Revision c06ec0bc (git): extmk.rb: fix conflict of timestamp files
* ext/extmk.rb (timestamp_file): move extmk.rb specific tricks
from lib/mkmf.rb. keep RUBYCOMMONDIR prefix not to ...
nobu (Nobuyoshi Nakada)
02:59 PM Bug #12718: BigDecimal() should raise on invalid input, consistent with Integer() and Float()
Oops it ate my bigdecimal output
BigDecimal("2.2") # => BigDecimal '0.22E1',18(18)
BigDecimal("invalid") # => Big...
jrochkind (jonathan rochkind)
02:58 PM Bug #12718 (Closed): BigDecimal() should raise on invalid input, consistent with Integer() and Float()
```ruby
Integer("2") # => 2
Integer("invalid") # raises ArgumentError: invalid value for Integer()
Float("2.0") ...
jrochkind (jonathan rochkind)
02:36 PM Bug #12717 (Closed): Optional argument treated as kwarg
When you define a method with an optional argument and keyword arguments (whether explicitly or with options splat) t... AMHOL (Andy Holland)
09:40 AM Bug #12716: Array#values_at fails for large argument size
Feel free to submit that feature request. nobu (Nobuyoshi Nakada)
06:54 AM Bug #12716: Array#values_at fails for large argument size
Nobuyoshi Nakada wrote:
> Arguments consume the system stack.
Why not modify the function slightly such that it c...
v0dro (Sameer Deshmukh)
07:02 AM Revision cea6c9d2 (git): mkmf.rb: architecture timestamp directories
* lib/mkmf.rb (timestamp_file): substitute TARGET_SO_DIR with
RUBYARCHDIR seprately from other normal paths, to mak...
nobu (Nobuyoshi Nakada)
06:10 AM Revision c929094b (git): rbinstall.rb: prefix with space [ci skip]
* tool/rbinstall.rb (bin): exec via /bin/sh if the prefix contains
space charaters, because shebang does not suppor...
nobu (Nobuyoshi Nakada)
05:54 AM Revision e3590ddb (git): mkmf.rb: fix up r56053
* lib/mkmf.rb (timestamp_file): TARGET_SO_DIR is defaulted to
RUBYARCHDIR but different for each extension librarie...
nobu (Nobuyoshi Nakada)
05:24 AM Revision 68d5d0f3 (git): extmk.rb: hacks for bundled gems
* ext/extmk.rb (gems): move dirty hacks for bundled gems from
mkmf.rb.
* lib/mkmf.rb (create_makefile): yield all c...
nobu (Nobuyoshi Nakada)
03:58 AM Revision d8f4c6a5 (git): * 2016-09-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:58 AM Revision 886bef68 (git): no Borland make [ci skip]
* ext/extmk.rb: remove Borland make support. Borland C++ has not
been supported since years ago.
* lib/mkmf.rb: d...
nobu (Nobuyoshi Nakada)

08/31/2016

09:56 PM Bug #12716 (Rejected): Array#values_at fails for large argument size
Arguments consume the system stack. nobu (Nobuyoshi Nakada)
05:48 PM Bug #12716: Array#values_at fails for large argument size
Say I have this Array:
~~~ ruby
a = [1] * 400_000
~~~
Now, I call Array#values_at in this way:
~~~ ruby
a...
v0dro (Sameer Deshmukh)
05:44 PM Bug #12716 (Rejected): Array#values_at fails for large argument size
Say I have this Array:
~~~ ruby
a = [1] * 140_000
~~~
Now, I call Array#values_at in this way:
~~~ ruby
a...
v0dro (Sameer Deshmukh)
01:58 PM Bug #12707 (Closed): Ripper is not built due to missing bison
I don't observer this issue anymore. This was probably part of the issues resolved in #12681. vo.x (Vit Ondruch)
12:29 PM Bug #12681 (Closed): Gemfied tk issue
It seems that r56049 and r56050 fixes the remaining issues for me. Thx. vo.x (Vit Ondruch)
11:53 AM Bug #12681 (Assigned): Gemfied tk issue
Vit Ondruch wrote:
> Also, I think that the removal of `FileUtils::makedirs("#$extout/gems")` [4] should be enough t...
vo.x (Vit Ondruch)
06:36 AM Bug #12681 (Closed): Gemfied tk issue
Applied in changeset r56047.
----------
mkmf.rb: TARGET_SO_DIR
* ext/extmk.rb: move TARGET_SO_DIR stuffs to mkmf.rb...
nobu (Nobuyoshi Nakada)
11:58 AM Bug #12371: Windows Nano Server WIN32OLE compatibility
Ethan, It's not easy for me to use CoInitializeEx instead of OleInitialize.
I had tried to use CoInitializeEx(NULL, ...
suke (Masaki Suketa)
11:27 AM Revision a6447af4 (git): mkmf.rb: fix up r56047
* lib/mkmf.rb (create_makefile): install to $(RUBYARCHDIR) other
than bundled extension libraries.
git-svn-id: svn...
nobu (Nobuyoshi Nakada)
11:20 AM Revision 3b5da7e5 (git): mkmf.rb: fix up r56047
* lib/mkmf.rb (create_makefile): TARGET_SO_DIR should not be the
root directory when sodir is empty.
git-svn-id: s...
nobu (Nobuyoshi Nakada)
08:39 AM Revision 7f7aa9d4 (git): extmk.rb: build_complete
* ext/extmk.rb (create_makefile): make gem.build_complete file
under TARGET_SO_DIR and install it only when the gem...
nobu (Nobuyoshi Nakada)
06:36 AM Revision 1b6a42d9 (git): mkmf.rb: TARGET_SO_DIR
* ext/extmk.rb: move TARGET_SO_DIR stuffs to mkmf.rb.
* lib/mkmf.rb (create_makefile): create target shared object fi...
nobu (Nobuyoshi Nakada)
02:41 AM Revision 506b45db (git): mkmf.rb: separate timestamp files
* lib/mkmf.rb (timestamp_file): separate timestamp files for each
architectures.
git-svn-id: svn+ssh://ci.ruby-lan...
nobu (Nobuyoshi Nakada)
02:03 AM Revision d484b0a3 (git): extmk.rb: filter gems
* ext/extmk.rb: filter gems as well as exts.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56045 b2dd03c8-39d4-4...
nobu (Nobuyoshi Nakada)
01:22 AM Feature #12715: Allow ruby hackers to omit having to specify class or module mandatory, if they know exactly what they want to do
In addition, the error message is extremely straightforward, and the fix is extremely easy, so the benefit of this is... duerst (Martin Dürst)
01:21 AM Feature #12715: Allow ruby hackers to omit having to specify class or module mandatory, if they know exactly what they want to do
I agree with Nobu that this is too minor an issue to introduce a new keyword.
Also, Robert wrote: "I do have to kn...
duerst (Martin Dürst)
 

Also available in: Atom