Activity
From 05/11/2016 to 05/17/2016
05/17/2016
-
11:14 PM Feature #6647: Exceptions raised in threads should be logged
- Charles Nutter wrote:
> > Benoit, I advise you to compromise on the default value. Once this feature gets implemente... -
08:27 PM Feature #6647: Exceptions raised in threads should be logged
- > Benoit, I advise you to compromise on the default value. Once this feature gets implemented, its default value coul...
-
05:33 PM Feature #6647: Exceptions raised in threads should be logged
- Akira Tanaka wrote:
> I expect that an assignment to Thread.report_on_exception doesn't affect
> threads started be... -
04:03 PM Feature #6647: Exceptions raised in threads should be logged
- Daniel Ferreira wrote:
> Why do we need `Thread#report_on_exception` ?
> As I see it `Thread.report_on_exception` s... -
03:41 PM Feature #6647: Exceptions raised in threads should be logged
- Nobuyoshi Nakada wrote:
> Do you mean that setting it at the start up time, before starting other threads?
> Or s... -
03:37 PM Feature #6647: Exceptions raised in threads should be logged
- Akira Tanaka wrote:
> This means that
> we can enable the message for each thread when Thread.report_on_exception =... -
03:26 PM Feature #6647: Exceptions raised in threads should be logged
- Nobuyoshi Nakada wrote:
> Will messages be printed on all Threads if `Thread.report_on_exception` is `true`?
> Or i... -
02:58 PM Feature #6647: Exceptions raised in threads should be logged
- Why do we need `Thread#report_on_exception` ?
As I see it `Thread.report_on_exception` should be enough.
Is there... -
02:50 PM Feature #6647: Exceptions raised in threads should be logged
- Will messages be printed on all Threads if `Thread.report_on_exception` is `true`?
Or it is just the default value f... -
12:27 PM Feature #6647: Exceptions raised in threads should be logged
- Benoit Daloze wrote:
>
> Agreed, except that it should be true by default otherwise it misses the whole point of R... -
12:01 PM Feature #6647: Exceptions raised in threads should be logged
- Benoit, I advise you to compromise on the default value. Once this feature gets implemented, its default value could...
-
09:18 AM Feature #6647: Exceptions raised in threads should be logged
- Akira Tanaka wrote:
> How about introducing Thread[.#]report_on_exception=(bool) ?
>
> false by default for compa... -
07:32 AM Feature #6647: Exceptions raised in threads should be logged
- I vote for Thread#report_on_exception
Matz.
-
05:58 AM Feature #6647: Exceptions raised in threads should be logged
- How about introducing Thread[.#]report_on_exception=(bool) ?
false by default for compatibility.
message should b... -
06:16 PM Revision 7f860741 (git): re.c: fix up r55036
- * re.c (match_values_at): fix regression at r55036.
MatchData#values_at accepts Range.
git-svn-id: svn+ssh://ci.ru... -
05:24 PM Revision 093c3893 (git): vm_core.h: bit flags
- * vm_core.h (rb_vm_struct, rb_thread_struct): make flags bit
fields.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t... -
05:20 PM Feature #12357 (Feedback): Random#initialize with a String
- It sounds not useful on the current situation.
Reopen if a Random Utility module requires this. -
05:10 PM Feature #9179 (Closed): MatchData#values_at should support named capture
- Applied in changeset r55036.
----------
* re.c (match_values_at): MatchData#values_at supports named captures
[Fea... -
05:10 PM Revision e6a10e89 (git): * re.c (match_aref): remove useless condition and call rb_fix2int.
- rb_reg_nth_match handles negative index.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55037 b2dd03c8-39d4-4d8f-... -
05:10 PM Revision 92f8d74a (git): * re.c (match_values_at): MatchData#values_at supports named captures
- [Feature #9179]
* re.c (namev_to_backref_number): separeted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5503... -
03:51 PM Bug #12389 (Closed): Module#constants includes non-constants
- Hi Ruby Core,
I noticed that `Module#constants(false)` sometimes includes modules/classes with a lowercase name:
... -
03:43 PM Feature #12263: Feature request: &&. operator (shorthand for foo && foo.method)
- `obj.(args)` is a syntax sugar for `obj.call(args)`.
Your notation confuses me.
-
03:25 PM Feature #12263: Feature request: &&. operator (shorthand for foo && foo.method)
- Daniel Ferreira wrote:
> Maybe the proposed `&&.` operator would be a good case scenario for this situations acting ... -
10:25 AM Feature #12263: Feature request: &&. operator (shorthand for foo && foo.method)
- Hi Matz,
I tend to still use this kind of code in some scenarios, specially when I work with objects with dynamic ... -
06:41 AM Feature #12263: Feature request: &&. operator (shorthand for foo && foo.method)
- Real world use case, please?
Matz.
- 03:08 PM Revision 0f621628 (git): * 2016-05-18
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:08 PM Revision d5595a96 (git): Optimize enum_sum for a range from int to int
- * enum.c (enum_sum): Optimize for a range from int to int.
* test/ruby/test_enum.rb (test_range_sum): Move from test... - 02:09 PM Revision 41d002bb (git): Write document of Enumerable#sum
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:58 PM Revision 41ef7ec3 (git): Implement Enumerable#sum
- * enum.c (enum_sum): Implement Enumerable#sum.
* test/ruby/test_enum.rb (test_sum): Test sum for Enumerable.
* test... -
01:26 PM Revision 341b34d7 (git): add issue number for Array#sum incompatitbility description.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:24 PM Revision 3c7f671a (git): Describe Fixnum and Bignum integration in NEWS.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:15 PM Revision 449fbfd4 (git): Use Integer instead of Fixnum and Bignum.
- * object.c, numeric.c, enum.c, ext/-test-/bignum/mul.c,
lib/rexml/quickpath.rb, lib/rexml/text.rb, lib/rexml/xpath_... -
01:03 PM Bug #12337 (Closed): inconsistency between Fixnum#coerce and Bignum#coerce
- This issue is closed because [Feature #12005] is merged.
matz said that backport the patch for this issue to relea... -
06:26 AM Bug #12337: inconsistency between Fixnum#coerce and Bignum#coerce
- bignum.coerce(float) raise an exception intentionally because it is difficult to determine which is bigger.
But it i... -
12:57 PM Revision 3118d1e4 (git): fix alignment
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:57 PM Revision c1664c70 (git): fix typos [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:49 AM Feature #9992: Access Modifiers (Internal Interfaces)
- There is a proposal for a namespace method: [Object#namespace](https://bugs.ruby-lang.org/issues/12317).
The namespa... -
10:38 AM Bug #12324: Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
- Thanks, I will.
-
05:39 AM Bug #12324: Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
- OK, you can be a committer. Follow the instruction in:
* https://bugs.ruby-lang.org/projects/ruby/wiki/CommitterH... -
10:02 AM Feature #12217: Introducing Enumerable#sum for precision compensated summation and revert r54237
- matz accepted Enumerable#sum (and Range#sum).
Examples:
`Range#sum` for mathematical sigma: `(0..n).sum {|i| ... ... -
09:26 AM Feature #12075 (Feedback): some container#nonempty?
- `Array#any?` seems to work usual use cases.
Feedback if another cases are discovered. -
09:13 AM Feature #12338: bypass Exception.new
- Currently, exception in `eval` shows the followings:
```
$ ruby -e 'eval("raise")'
-e:1:in `eval': (eval):1:in `... -
08:55 AM Feature #8110: Regex methods not changing global variables
- +1 for `Regexp#match?`
Matz.
-
08:52 AM Feature #8110: Regex methods not changing global variables
- How about Regexp#match? to return bool without MatchData?
-
08:28 AM Bug #12368: default encoding of Integer#chr
- What about making the default UTF-8. This is the same as source encoding for many scripts now. According to the exper...
- 08:25 AM Revision 918f6490 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:25 AM Revision 1afbc71a (git): forgot to commit.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:18 AM Feature #8895: Destructuring Assignment for Hash
- The proposed syntax is much harder to implement than it looks. It conflicts with Hash literals. As a result, humans c...
-
07:23 AM Feature #12157: Is the option hash necessary for future Rubys?
- Agreed. But we have to design migration path. That's a hard problem, though.
Matz.
-
07:00 AM Feature #5899 (Rejected): chaining comparsions.
-
06:59 AM Feature #5899: chaining comparsions.
- I don't think it's worth adding extra complexity to Ruby.
Matz.
-
06:53 AM Feature #12005 (Closed): Unify Fixnum and Bignum into Integer
- Applied in changeset r55024.
----------
[Feature #12005] Unify Fixnum and Bignum into Integer
* [Feature #12005] Un... -
06:39 AM Feature #12005: Unify Fixnum and Bignum into Integer
- I should have unified those classes at the first hand. It's much cleaner & simpler.
Try unifying them and see if it ... -
06:53 AM Revision f9727c12 (git): [Feature #12005] Unify Fixnum and Bignum into Integer
- * [Feature #12005] Unify Fixnum and Bignum into Integer
* include/ruby/ruby.h (rb_class_of): Return rb_cInteger for ... -
06:45 AM Bug #4388: open-uriで環境変数http_proxyを使うときに認証付きのProxyが使えません
- しばたさんがしばらく前に r54432 を入れてましたが、trunk の状態についてはどうですか。
-
06:31 AM Feature #11098 (Feedback): Thread-level allocation counting
-
06:05 AM Feature #12244: Add a way to `integer - integer % num`
- The proposed behavior seems reasonable for me.
The only concern is performance. We need measurement.
Matz. -
05:51 AM Feature #12352 (Rejected): New hash syntax broken for numeric keys
-
05:50 AM Feature #12352: New hash syntax broken for numeric keys
- Although I admit my mistake, I reject this for consistency.
If I allow this syntax, it had to generate
``` ruby
... -
02:58 AM Bug #12383 (Closed): Warnings when compiling proc.c on cygwin
- Applied in changeset r55023.
----------
configure.in: declare as NORETURN
* configure.in (RUBY_CHECK_BUILTIN_SETJMP... -
02:58 AM Revision 565241f1 (git): configure.in: declare as NORETURN
- * configure.in (RUBY_CHECK_BUILTIN_SETJMP): declare t as NORETURN
to suppress warnings by -Wsuggest-attribute=noret... - 01:40 AM Revision 6f7f2e8b (git): * 2016-05-17
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:40 AM Revision d077f9c5 (git): configure.in: RUBY_CHECK_SETJMP
- * configure.in (RUBY_CHECK_SETJMP): needs the header and proper
arguments for builtin setjmp functions.
git-svn-id... -
01:31 AM Bug #12385 (Closed): xmlrpc requires Ruby version >= 2.4.0., and produces an error even though I have Ruby 2.4.0
- Hiroshi SHIBATA wrote:
> It's fixed at r55017. Can you confirm this?
Confirmed, thanks! -
12:19 AM Bug #9082: popen3 hangs when stderr gets lots of output
- Note you can use `Open3.capture3` to safely read stdout and stderr without doing `popen3` + `IO.select` yourself.
...
05/16/2016
-
02:49 PM Bug #12388 (Third Party's Issue): Iterating second dbm enum causes first dbm enum to stop
- When iterating over a dbm file, accessing the enumerator of a second dbm file causes iteration of the first dbm file ...
-
01:27 PM Bug #12383: Warnings when compiling proc.c on cygwin
- I'm also seeing the warning on my Linux box with GCC 6.1.1/5.3.0. Removing "-Wsuggest-attribute=noreturn" from config...
-
11:14 AM Bug #12383: Warnings when compiling proc.c on cygwin
- I updated to
```
/cygdrive/i/szsz/tmpp/gcc/gcc-5.3.0-5.x86_64/src/gcc-5.3.0/configure
```
but the error persi... -
10:57 AM Bug #12383: Warnings when compiling proc.c on cygwin
- > ```
> /cygdrive/i/szsz/tmpp/gcc/gcc-5.3.0-3.x86_64/src/gcc-5.3.0/configure
Seems older a little. -
10:23 AM Bug #12383 (Open): Warnings when compiling proc.c on cygwin
- Here's my gcc version information:
```
$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr... -
12:57 PM Bug #12385 (Feedback): xmlrpc requires Ruby version >= 2.4.0., and produces an error even though I have Ruby 2.4.0
- It's fixed at r55017. Can you confirm this?
-
10:29 AM Bug #12385 (Closed): xmlrpc requires Ruby version >= 2.4.0., and produces an error even though I have Ruby 2.4.0
- With
```
make up; make install-nodoc
```
I get the error below. There are two issues with this:
1) I have Ruby 2... -
11:40 AM Feature #12387 (Closed): ripper: new parser event for kwrest parameter
- Ripper does not handle unnamed kwrest parameter well.
~~~ruby
$ ruby -rpp -rripper -e'pp Ripper.sexp("def a(*x, *... -
11:00 AM Revision 84cd5191 (git): * enc/unicode.h: Additional uses of ONIG_CASE_MAPPING compilation switch
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:55 AM Feature #12386 (Closed): Move definition of ONIG_CASE_MAPPING compilation switch outside onigumo files
- At r55018, in include/ruby/oniguruma.h, at line 131, I introduced
the compilation switch ONIG_CASE_MAPPING. The purp... - 10:46 AM Revision 3ab0ea80 (git): * append newline at EOF.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:46 AM Revision 65db16de (git): * include/ruby/oniguruma.h: Introducing ONIG_CASE_MAPPING compilation
- switch
* include/ruby/oniguruma.h, enc/unicode.h: Using ONIG_CASE_MAPPING
compilation switch
git-svn-id: svn+ssh:... -
10:29 AM Revision 2f190353 (git): * gems/bundled_gems: Update xmlrpc-0.1.1. xmlrpc-0.1.0 didn't allow
- to install on 2.4.0dev.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:34 AM Bug #4388: open-uriで環境変数http_proxyを使うときに認証付きのProxyが使えません
- perlのLWPも環境変数のパスワード使いますね。
perl -MLWP::Simple -e 'getprint "http://www.google.com"'
で、確認。
ソースがとっちらかってて1行でうまくポイ... -
08:07 AM Bug #4388: open-uriで環境変数http_proxyを使うときに認証付きのProxyが使えません
- いちおうPythonでどうしてるかは調べました。urllib.request.urlopenが同等のようですが、環境変数のパスワードをしっかり
読んでます。だって、それがデファクトだから。
すでにデファクト仕様が決まっちゃってるも... -
07:39 AM Bug #4388: open-uriで環境変数http_proxyを使うときに認証付きのProxyが使えません
- こちら、いままさに私もはまっています。
現代的において認証つきPROXYを使っているのは企業ネットワークで認証つきPROXYを使っており、外に出るのに必要という
状況であり、マルチユーザではつかわないか、もしくは、シェアするのは全... -
06:26 AM Revision 9a9d375f (git): * test_handle.rb: refine test_fallback_to_ansi
- * test/fiddle/test_handle.rb (test_fallback_to_ansi): ensure that
the fallback result equals to ANSI version.
[ru... -
04:37 AM Bug #12384 (Feedback): vm_call_cfunc - cfp consistency error ruby 2.3.1p112
- What do you mean by a "record"?
How to reproduce it? -
01:57 AM Bug #12384 (Closed): vm_call_cfunc - cfp consistency error ruby 2.3.1p112
- Appears to be an issue when deleting a record with an attached callback that deletes an associated record. Not sure h...
-
04:29 AM Bug #12377 (Closed): recipe for target 'do-install-nodoc' failed
- Applied in changeset r55015.
----------
configure.in: revert macro names
* configure.in (FUNC_STDCALL, FUNC_CDECL, ... -
04:29 AM Revision c7d11ee1 (git): configure.in: revert macro names
- * configure.in (FUNC_STDCALL, FUNC_CDECL, FUNC_FASTCALL): set
macro names explicitly to the old names, which are ac... -
02:54 AM Revision 572807ee (git): * lib/xmlrpc: Removed empty directory. It could not be deleted by git-svn.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:41 AM Feature #12160 (Closed): Extract XMLRPC library to bundled gem
- Applied in changeset r55013.
----------
* lib/xmlrpc.rb, lib/xmlrpc/*, test/xmlrpc: XMLRPC is bundled gem
on Ruby ... -
02:41 AM Revision e2bb529c (git): * lib/xmlrpc.rb, lib/xmlrpc/*, test/xmlrpc: XMLRPC is bundled gem
- on Ruby 2.4. [Feature #12160][ruby-core:74239]
* gems/bundled_gems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru... -
12:16 AM Revision b14c93e6 (git): extmk.rb: fix skipping messages
- * ext/extmk.rb (extmake): select the message if skipped because
its parent extension is not configured.
git-svn-id...
05/15/2016
-
09:11 PM Bug #12332 (Closed): [PATCH] proc.c: fix RDoc of Proc#===/call/yield/[]
- Applied in changeset r55010.
----------
proc.c: fix RDoc of Proc#===/call/yield/[]
[Bug #12332]
Since r52050 ("pro... - 09:11 PM Revision 495863fe (git): * 2016-05-16
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:11 PM Revision 3044a0bc (git): proc.c: fix RDoc of Proc#===/call/yield/[]
- [Bug #12332]
Since r52050 ("proc.c: enable optimization of Proc#call")
for [Feature #11569], we need to maintain thi... -
02:04 PM Bug #12315: OptionParser parses quoted --dash strings in 2.3.0
- Nobuyoshi Nakada wrote:
> I can't reproduce it.
>
> ```
> $ ruby -roptparse -e 'ARGV.options{|opt|opt.on("-x=STR... -
01:54 PM Revision 7803106c (git): io.c: use PRI_OFFT_PREFIX for off_t
- * io.c (do_io_advise): use configured PRI_OFFT_PREFIX instead of
PRI_OFF_T_PREFIX to format off_t properly on Cygwi... -
01:47 PM Feature #12317: Name space of a module
- No issue in my point of view.
I agree with your reply.
Can you take a look at my proposal to see what you think a... -
01:39 PM Feature #12317: Name space of a module
- Daniel Ferreira wrote:
> Simple challenge example:
>
> ~~~ ruby
> module Foo
> class Bar
> end
> end
> B... -
12:58 PM Feature #12317: Name space of a module
- Hi Tsuyoshi.
A clear namespace definition is important for the implementation of my proposed feature: [internal in... -
01:24 PM Bug #12383 (Feedback): Warnings when compiling proc.c on cygwin
- I don't see that warning, with `optflags=-O0` .. `-O3`.
```
$ LANG=C gcc -v
Using built-in specs.
COLLECT_GCC=g... -
03:02 AM Bug #12383 (Closed): Warnings when compiling proc.c on cygwin
- When compiling ruby on cygwin, I get the following warnings for proc.c:
```
compiling proc.c
proc.c: In function... -
11:59 AM Bug #12342 (Closed): DRb.stop_service doesn't kill sleeping TimerIdConv threads
- Applied in changeset r55008.
----------
don't use keeper thread. [Bug #12342] - 11:59 AM Revision e143a741 (git): don't use keeper thread. [Bug #12342]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:56 AM Feature #12242: Is it worth adding collision probability of SecureRandom functions in RubyDoc?
- Yui, it may be helpful to say what kind of feedback do you want, and from whom.
-
07:17 AM Revision 6b413272 (git): * array.c (rb_ary_entry): extract rb_ary_elt to organize if-conditions
- and check whether is is embdeded at once.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55007 b2dd03c8-39d4-4d8f... -
04:56 AM Feature #9992: Access Modifiers (Internal Interfaces)
- Hi Jörg, thank you very much for your interesting questions.
This is a subject for a wider discussion and your que... -
03:51 AM Bug #12324: Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
- Hiroshi SHIBATA wrote:
> I added this issue to agenda of developer meeting at next week.
>
> https://bugs.ruby-la... -
03:24 AM Bug #12324: Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
- I added this issue to agenda of developer meeting at next week.
https://bugs.ruby-lang.org/projects/ruby/wiki/Deve... -
02:58 AM Bug #12324: Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
- @matz
Can I have SVN access?
I'd love to help improving/maintaining Ruby and ext/openssl. Several of my patches... -
01:31 AM Bug #12324: Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
- Patch v3. It looks like OpenSSL 1.1.0 is delaying...
https://github.com/ruby/ruby/compare/trunk...rhenium:feature/... -
03:03 AM Revision 9529e46a (git): random.c: suppress a warning
- * random.c (random_ulong_limited): suppress a shift count warning
when unsigned long is 32bits.
git-svn-id: svn+ss... -
01:57 AM Bug #12382 (Closed): Deprecated constants will not print out warning when accessed directly
- Applied in changeset r55005.
----------
vm_insnhelper.c: deprecated constant in class
* vm_insnhelper.c (vm_get_ev_... -
01:57 AM Revision 5cb5692a (git): vm_insnhelper.c: deprecated constant in class
- * vm_insnhelper.c (vm_get_ev_const): warn deprecated constant even
in the class context. [ruby-core:75505] [Bug #1...
05/14/2016
-
11:21 PM Revision 6d4fb98e (git): random.c: clear seed
- * random.c (rand_init): clear packed seed value explicitly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55004 ... - 06:43 PM Revision 9be98516 (git): * 2016-05-15
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:43 PM Revision 3b4e68cf (git): * iseq.h (struct iseq_compile_data): use struct rb_id_table
- instead of st_table.
* iseq.c (prepare_iseq_build): don't allocate ivar_cache_table
until it has at least one elem... -
05:47 PM Bug #12379: mkmf.rb `pkg-config --exists`と`pkg-config --libs`の呼び出し方法が異なり期待した結果にならない(OS X)
- ruby_2_3 r55001 merged revision(s) 54999.
-
12:04 AM Bug #12379 (Closed): mkmf.rb `pkg-config --exists`と`pkg-config --libs`の呼び出し方法が異なり期待した結果にならない(OS X)
- Applied in changeset r54999.
----------
lib/mkmf.rb: use xsystem to pkg-config --exists
* lib/mkmf.rb (pkg_config):... -
05:46 PM Revision 97888037 (git): merge revision(s) 54999: [Backport #12379]
- * lib/mkmf.rb (pkg_config): use xsystem consistently to set up
library path environment variable as well as... -
12:00 PM Bug #12382 (Closed): Deprecated constants will not print out warning when accessed directly
- Hi,
the current behavior of `deprecate_constant` is a little confusing:
```ruby
module Namespace
module Dep... -
11:14 AM Bug #12381 (Closed): ext/openssl classes' dup/clone don't work well
- They don't copy the underlying C level structures.
~~~ruby
ssl_ctx = OpenSSL::SSL::SSLContext.new
ssl_ctx.cipher... -
11:07 AM Bug #6567: Let OpenSSL::PKey::EC follow the general PKey interface
- I want to work on this before the release of openssl gem.
- EC#public_key returns an EC::Point, not an EC
I... -
08:28 AM Feature #12380: `Struct` as a subclass of `Class`
- Jeremy Evans wrote:
> You can't subclass Class in ruby:
I see.
> do you think there would be any practical b... -
07:18 AM Feature #12380: `Struct` as a subclass of `Class`
- Tsuyoshi Sawada wrote:
> I propose that either `Struct` should be redefined as a subclass of `Class`, or a new class... -
06:22 AM Feature #12380 (Open): `Struct` as a subclass of `Class`
- This issue is somewhat of the same flavor as #12374.
`Struct` has a constructor that creates a class:
~~~ruby
... -
01:09 AM Revision 005ee0e4 (git): ChangeLog: GitHub reference
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:04 AM Revision f37f881a (git): lib/mkmf.rb: use xsystem to pkg-config --exists
- * lib/mkmf.rb (pkg_config): use xsystem consistently to set up
library path environment variable as well as latter ...
05/13/2016
-
05:15 PM Bug #12379 (Closed): mkmf.rb `pkg-config --exists`と`pkg-config --libs`の呼び出し方法が異なり期待した結果にならない(OS X)
- OS X 10.11.4上で
- rubyが/opt/localにインストールされている
- /opt/local/lib/libiconv.dylibがある
とき、gem ffiのインストールに失敗します。
~~... -
04:44 PM Feature #12378 (Open): arbitrary size Random.new_seed
- https://github.com/ruby/ruby/compare/trunk...nobu:feature/Random.new_seed-prec
Related to #12357, a proposal to ad... -
04:36 PM Revision fc9bc883 (git): test_rand.rb: tests for seeds
- * test/ruby/test_rand.rb: tests for Random.raw_seed and
Random.new_seed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru... -
03:28 PM Bug #12376: No error for elseif condition
- You may want to use a code lint tool, such as [rubocop](https://github.com/bbatsov/rubocop).
BTW, next quiz:
~~... -
12:40 PM Bug #12376: No error for elseif condition
- Of course.
Makes perfect sense.
I would say the way to handle this bugs in a pro-active way would be to use 100% co... -
11:51 AM Bug #12376 (Rejected): No error for elseif condition
-
11:37 AM Bug #12376: No error for elseif condition
- And most editors can high-light keywords, but not `elseif`, as shown in this page, FYI.
-
10:59 AM Bug #12376 (Closed): No error for elseif condition
- it's parsed like
``` ruby
a = 1
if a == 2
puts 2
elseif(a==1)
puts 1
else
puts 0
end
```
and t... -
10:59 AM Bug #12376: No error for elseif condition
- It is parsed as
~~~ruby
if a == 2
puts 2
elsif a == 3
puts 3
elseif(a == 1)
puts 1
else
puts 4
... -
10:41 AM Bug #12376 (Rejected): No error for elseif condition
- Something I have been for a long time wondering about.
I don't know if this is a parsing problem or not but for me i... -
03:16 PM Revision d009cebf (git): random.c: no local copy of the seed
- * random.c (make_seed_value): append leading-zero-guard and get
rid of making a local copy of the seed.
git-svn-id... - 03:16 PM Revision 00a371c2 (git): * 2016-05-14
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:16 PM Revision 79850a08 (git): random.c: fill_random_seed size
- * random.c (fill_random_seed): move the seed size to an argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@... -
02:56 PM Revision 678c39dc (git): random.c: clear buf
- * random.c (random_seed): clear temporary buffer explicitly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54994... -
02:01 PM Revision be33635c (git): fix typos [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:06 AM Bug #12377 (Closed): recipe for target 'do-install-nodoc' failed
- When compiling with
make up; make install-nodoc
I get the following error
```
installing default gems: /us... -
09:34 AM Bug #12370: require 'mkmf' changes Object#respond_to? behaviour
- In this situation we have Module#public_method_defined? returning different things for classes and modules which make...
-
09:11 AM Bug #12370: require 'mkmf' changes Object#respond_to? behaviour
- Understood.
So what really makes sense to do is something like this:
``` ruby
$ irb
> require 'mkmf'
> YAML.re... -
09:04 AM Feature #12375: Net::HTTP.post
- Usaku NAKAMURA wrote:
> Shugo Maeda wrote:
> > * The first argument must be a URI object, but it might be better to... -
08:22 AM Feature #12375: Net::HTTP.post
- Shugo Maeda wrote:
> * The first argument must be a URI object, but it might be better to accept a String.
It sho... -
07:56 AM Feature #12375 (Closed): Net::HTTP.post
- Net::HTTP.post_form is convenient, but it's dedicated to application/x-www-form-urlencoded.
Why not provide Net::HTT... -
06:44 AM Feature #12275 (Open): String unescape
- Thank you. That makes sense to me because String#dump has no corresponding undump method now.
-
03:52 AM Bug #12371: Windows Nano Server WIN32OLE compatibility
- In Window Nano Server TP5, Microsoft has temporarily changed the behavior of `OleInitialize` internally to use `CoIni...
05/12/2016
-
11:46 PM Revision da696ae7 (git): drop FreeBSD < 4 support
- * NEWS: drop FreeBSD < 4 support.
The most recent version affected by this is 3.5 and was released
in 2000.
htt... -
11:39 PM Bug #12370 (Closed): require 'mkmf' changes Object#respond_to? behaviour
- `Module#public_method_defined?` is for instance methods.
`Object#respond_to?` is for its own methods.
They have no ... -
10:25 AM Bug #12370: require 'mkmf' changes Object#respond_to? behaviour
- Hi Nobu.
I discovered due to this bug in capybara-screenshot gem: [[https://github.com/mattheworiordan/capybara-sc... -
11:35 PM Revision 8cd05857 (git): extmk.rb: failures format
- * ext/extmk.rb: show extension failures in compilation-mode
friendly format.
git-svn-id: svn+ssh://ci.ruby-lang.or... -
11:35 PM Revision 3bdf613a (git): defines.h: avoid redefinition
- * include/ruby/defines.h (GCC_VERSION_SINCE): get rid of
re-definition.
git-svn-id: svn+ssh://ci.ruby-lang.org/rub... -
09:21 PM Bug #12371: Windows Nano Server WIN32OLE compatibility
- In my tests `OleInitialize(NULL)` succeeded on Nano Server TP5 and reverse forwarders installed. Then it already is b...
-
04:20 PM Bug #12371: Windows Nano Server WIN32OLE compatibility
- Yes, the behavior of `OleInitialize` is generally additive and per the docs at https://msdn.microsoft.com/en-us/libra...
-
01:58 AM Bug #12371 (Assigned): Windows Nano Server WIN32OLE compatibility
- Doesn't `CoInitialize` differ than `OleInitialize`?
-
06:30 PM Feature #12374: SingletonClass
- Sorry, for the last example, I meant:
~~~ruby
A = SingletonClass.new
~~~ -
06:28 PM Feature #12374 (Closed): SingletonClass
- I propose to have a class `SingletonClass`, a subclass of the class `Class`, to which all singleton classes belong. I...
-
06:27 PM Revision 4e080d26 (git): fix typo in r54988
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:12 PM Revision b207e7cd (git): include/ruby/defines.h (GCC_VERSION_SINCE): moved from internal.h
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 06:12 PM Revision 07dd6fcc (git): * 2016-05-13
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:12 PM Revision ac11f944 (git): Use HAVE_BUILTIN___BUILTIN_CONSTANT_P
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:12 PM Revision 91e3c8b3 (git): * configurein: use alternative keyword
- to avoid macros conflicts with them.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54985 b2dd03c8-39d4-4d8f-98ff... -
04:07 PM Feature #11090: Enumerable#each_uniq and #each_uniq_by
- Why introduce one more method if we can just implement `#uniq` (with or without block, sticking to `Array#uniq` seman...
-
03:43 PM Feature #12275: String unescape
- I think yes, inverse of String#dump. I have user inputed string without qoutes, but it don't metter much.
-
02:12 PM Bug #12373: Optimize CSV#shift
- I update patches.
csv-shift-1.patch: Use **s1.start_with?(s2)** instead of **s1[0] == s2** and use **s1.end_with?(... -
07:10 AM Bug #12373: Optimize CSV#shift
- Thank you for your reply.
> You can replace str1[-1] == str2 with str1.end_with?(str2) too, three places.
Yes, ... -
02:05 AM Bug #12373: Optimize CSV#shift
- You can replace **`str1[-1] == str2`** with **`str1.end_with?(str2)`** too, three places.
-
12:45 AM Bug #12373 (Closed): Optimize CSV#shift
- I think that **`str1.start_with?(str2)`** is faster than **`str1[0] == str2`**.
Because **`str1.start_with?(str2)`**... -
01:01 PM Revision b69cc4cc (git): fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:19 AM Revision 2b7c7214 (git): extmk.rb: failed messages at the end
- * ext/extmk.rb: output failed configurations at the end, not to be
scrolled out.
TODO: show the message at the en... -
10:12 AM Feature #12364: Copy superclass serial number to singleton subclasses for better IMC hits
- I don't have any objection about this change because it is not big change.
Did you measure not micro-benchmarks?
-
01:06 AM Bug #9569: SecureRandom should try /dev/urandom first
- @naruse Do you think it's inadequate for Linux users to fall back to getrandom(2)? If so, why?
-
12:48 AM Bug #10558 (Third Party's Issue): failing require digest.so on OSX statically compiled ruby
05/11/2016
-
07:23 PM Bug #12372 (Closed): Resolv::DNS does not fetch authority section resources when calling getresource(s)
- In some cases, for example, when trying to retrieve the nameservers of a domain, you need to ask authoritative server...
-
05:58 PM Bug #12371 (Closed): Windows Nano Server WIN32OLE compatibility
- The `OleInitialize()` call used in WIN32OLE is not supported on Nano Server due to the fact that the STA COM model is...
-
05:03 PM Bug #12370: require 'mkmf' changes Object#respond_to? behaviour
- The behavior of `Object#respond_to?` isn't changed.
Simply mkmf.rb defines `configuration` method.
```
$ ruby -r... -
02:25 PM Bug #12370 (Rejected): require 'mkmf' changes Object#respond_to? behaviour
- Replication steps:
``` ruby
$ irb
> RUBY_VERSION
=> '2.3.0'
> require 'yaml'
> YAML.public_method_defined?(:c... -
04:54 PM Revision 6ff3a8e3 (git): mkmf.rb: fix conflict in have_library
- * lib/mkmf.rb (try_func): get rid of conflict of declarations of
main(). checking local symbol reference does not ... -
04:39 PM Revision d6d8ea91 (git): win32: qsort_s
- * win32/Makefile.sub (HAVE_QSORT_S): disable on VS2012 too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54981 ... - 03:21 PM Revision 98c084b8 (git): * win32/Makefile.sub (HAVE_QSORT_S): use qsort_s only for Visual Studio
- 2012 or later, because VS2010 seems to causes a SEGV in
test/ruby/test_enum.rb.
git-svn-id: svn+ssh://ci.ruby-lan... - 03:08 PM Revision cb459dbe (git): fix typo at ChangeLog
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:04 PM Revision 313f9694 (git): * 2016-05-12
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:04 PM Revision 0b8f8ac5 (git): * vm_insnhelper.c (vm_getivar): describe fast-path explicit
- (compiler frindly). [Bug #12274].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54977 b2dd03c8-39d4-4d8f-98ff-8... -
12:50 PM Bug #12274 (Closed): accessing to instance variable should be fast.
- Applied in changeset r54976.
----------
* compile.c (iseq_compile_each): share InlineCache during same
instance v... - 12:50 PM Revision 44916ec4 (git): * compile.c (iseq_compile_each): share InlineCache during same
- instance variable accesses. Reducing memory consumption,
rasing cache hit rate and rasing branch prediction... -
12:38 PM Bug #12353: Regression with Marshal.dump on ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin15]
- Nobuyoshi Nakada wrote:
> I can't reproduce it.
>
> ```
> Successfully installed activesupport-4.2.6
> ```
T... -
12:24 PM Revision ac8c23f1 (git): test_minitest_unit.rb: fix "random" sort
- * test/minitest/test_minitest_unit.rb (test_test_methods_random):
hack to fix the order by avoiding duplicate keys.... -
09:31 AM Bug #9569 (Open): SecureRandom should try /dev/urandom first
- In general SecureRandom should work as it works on OpenBSD.
It uses arc4random_buf, which gathers entropy from /dev/... -
05:55 AM Bug #9569: SecureRandom should try /dev/urandom first
- George Koehler: you're missing the point: the OS RNG should be used instead of OpenSSL's. That isn't necessarily /dev...
-
08:18 AM Revision be4b1c1e (git): util.c: qsort_s
- * util.c (ruby_qsort): use qsort_s if available, for Microsoft
Visual Studio 2005 (msvcr80.dll) and mingw.
git-svn... -
07:13 AM Revision d22cf0de (git): fix file name [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:35 AM Bug #12369 (Rejected): optionparseで引数の文字列が受け取れなくなる
-
06:10 AM Bug #12369 (Rejected): optionparseで引数の文字列が受け取れなくなる
- ```ruby
#test.rb
require "optparse"
OptionParser.new do |opt|
opt.on('-a', '--aaa=VAL') {|v| p "aaa", v }
op... -
05:42 AM Bug #12368 (Rejected): default encoding of Integer#chr
- 現状、`Integer#chr`は引数なしの場合には、
1. default internalが設定されていればそれを使う
2. default internalが`nil`ならASCII(-8BIT)とみなす
という挙... - 01:33 AM Revision a3d2c119 (git): * 2016-05-11
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:33 AM Revision 4e3a98d3 (git): * ChangeLog: Remove trailing-whitespaces.
- [ci skip][fix GH-1348]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Also available in: Atom