Activity
From 12/07/2015 to 12/13/2015
12/13/2015
-
08:13 PM Bug #11762: Array#dig can raise TypeError: no implicit conversion of Symbol/String into Integer
- > If #dig returns nil instead of exception, as you want, we cannot distinguish case 2 and case 3.
I've looked at a... -
03:51 PM Bug #11762: Array#dig can raise TypeError: no implicit conversion of Symbol/String into Integer
- Suppose you have a Hash/Array tree from JSON, with some attributes optional, you can expect three types of results;
... -
06:17 PM Feature #11813: Extend safe navigation operator for [] and []= with syntax sugar
- IMO, we can write `&.` only for replacement of `.`.
As you know, `ary.[idx]` is not valid, then `ary&.[idx]` should ... -
08:09 AM Feature #11813 (Rejected): Extend safe navigation operator for [] and []= with syntax sugar
- Now we have the safe navigation operator `&.`. But this cannot be used with syntax sugar form of the methods `[]` and...
-
04:54 PM Revision d2e19fdc (git): ytab.sed: replace argument
- * tool/ytab.sed: substitute the first argument of YYFPRINTF, instead
of substitution by preprocessor, not to redefi... -
03:50 PM Revision a7b67cc8 (git): ytab.sed: work around
- * tool/ytab.sed: work around for platforms where vairadic macro is
not available.
git-svn-id: svn+ssh://ci.ruby-la... - 03:21 PM Revision 543687e1 (git): * 2015-12-14
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:20 PM Revision 9d34ea9e (git): parse.y: reset buffer
- * parse.y (rb_parser_printf): reset debug_buffer after print out.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@... -
02:48 PM Revision a9b40cad (git): remove duplicated log by mistake
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:46 PM Revision 0f076aff (git): parse.y: lex_state trace by yydebug
- * parse.y (trace_lex_state): trace lex_state changes if yydebug is
set, and send the messages to rb_stdout.
* parse... -
12:39 PM Feature #11814 (Rejected): String#valid_encoding? without force_encoding
- Now we have to set a encoding to a string to validate it, just like:
```ruby
str.force_encoding('euc-jp').valid_e... -
11:41 AM Revision ada76728 (git): parse.y: lex_state bits
- * parse.y (build_lex_state_name, trace_lex_state): lex_state is
now bit flags and can be set 2 bits or more.
git-s... -
11:40 AM Bug #11805 (Closed): Cannot run Ruby
-
11:27 AM Revision ed762043 (git): * test/ruby/test_syntax.rb: fix typo in test
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:17 AM Bug #11812 (Closed): Lack of space between colon and % literal causes syntax error
- Applied in changeset r53092.
----------
* parse.y (parse_percent): Allow %-literals in labeled arg as
r51624 did f... -
08:46 AM Bug #11812: Lack of space between colon and % literal causes syntax error
- r51617 is the cause according to bisect.
-
11:17 AM Revision 99ac3922 (git): * parse.y (parse_percent): Allow %-literals in labeled arg as
- r51624 did for parentheses.
Fixes [ruby-core:72084] [Bug #11812].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun... -
11:02 AM Revision 5f0324e5 (git): * ChangeLog: fix a typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:57 AM Revision 4977af3c (git): function.c: fix typo
- * ext/fiddle/function.c (initialize): fix typo "ary" to "args",
and adjust type of variables to suppress warnings.
... -
10:54 AM Revision 0d5d742b (git): * test/lib/envutil.rb: move enutil's assertions under Test::Unit::Assertion.
- * test/lib/test/unit/assertions.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53089 b2dd03c8-39d4-4d8... -
10:37 AM Revision af64b095 (git): * parse.y (lex_state_name): Make it return the correct names.
- Add new names to follow r51617; Indices ffs(2) returns are 1-origin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru... -
10:37 AM Revision 4e4a76e8 (git): * parse.y: debug output of lex_state transition if PARSER_DEBUG
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 10:25 AM Revision de577357 (git): * ext/fiddle/function.c: fix build error introduced at r53082.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:49 AM Revision add73a87 (git): io.c: encoding in warnings
- * io.c (parse_mode_enc): preserve encoding of mode string in
warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby... -
09:48 AM Revision b861d547 (git): io.c: BOM with non-UTF
- * io.c (io_encname_bom_p): check BOM prefix only, not including
UTF prefix.
* io.c (parse_mode_enc): warn BOM with ... -
09:45 AM Revision ce6f0e36 (git): io.c: fix stack smashing
- * io.c (parse_mode_enc): fix buffer overflow.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53083 b2dd03c8-39d4-... -
09:35 AM Revision bcc2421b (git): function.c: check arguments
- * ext/fiddle/function.c (initialize): check all arguments first.
reported by Marcin 'Icewall' Noga of Cisco Talos.
... -
09:35 AM Revision 34a0df15 (git): conversions.h: PTR2NUM
- * ext/fiddle/conversions.h (PTR2NUM): use signed integer to make
Fixnum for negative values.
git-svn-id: svn+ssh:/... -
09:33 AM Revision d10d5a97 (git): pack.c: check index range
- * pack.c (pack_pack): always check index range against the
receiver array length, which can be shortened by element... -
09:28 AM Revision db48c307 (git): psych_emitter.c: check tags range
- * ext/psych/psych_emitter.c (start_document): should not exceed
tags array range.
git-svn-id: svn+ssh://ci.ruby-la... -
09:27 AM Revision cc031343 (git): psych_emitter.c: check string
- * ext/psych/psych_emitter.c (start_document): ensure string before
encoding conversion.
git-svn-id: svn+ssh://ci.r... -
09:26 AM Revision cdaa94ea (git): tkutil.c: check arg
- * ext/tk/tkutil/tkutil.c (tk_hash_kv): check types of array
argument. reported by Marcin 'Icewall' Noga of Cisco T... -
09:25 AM Revision 62539b49 (git): tkutil.c: array length
- * ext/tk/tkutil/tkutil.c (cbsubst_table_setup): check length of
argument arrays for each access, as callback method... -
09:23 AM Revision b2d3c6a8 (git): tkutil.c: check args
- * ext/tk/tkutil/tkutil.c (cbsubst_table_setup): check types of
argument elements. reported by Marcin 'Icewall' Nog... -
09:19 AM Revision 739d9a37 (git): win32ole.c: check argument type
- * ext/win32ole/win32ole.c (ole_vstr2wc): check argument type, vstr
must be a String here. reported by Marcin 'Icew... -
08:11 AM Bug #11811: Chaining lazy enumerators causes duplicate ouput
- Not only reject's bug. Lazy enumerator ignores &:method generally.
~~~~
$ ./miniruby -e '
s = [1,2,3].lazy.ma... -
07:41 AM Revision 20736004 (git): configure.in: make BASERUBY fullpath
- * configure.in (BOOTSTRAPRUBY): make BASERUBY full path before
building ruby to get rid of unexpectedly invoking bu... -
07:29 AM Revision 621b05ed (git): configure.in: make BOOTSTRAPRUBY MINIRUBY
- * configure.in (BOOTSTRAPRUBY): use MINIRUBY but not BASERUBY
unless cross compiling. [ruby-core:72065] [Bug #1180... -
06:13 AM Bug #11807 (Third Party's Issue): Build failure of Ruby 2.3.0 preview1 and 2
-
05:53 AM Misc #11770 (Closed): [PATCH] $KCODEへの代入時にwarningが発生することのテストを追加
- 05:22 AM Revision f7ca4f30 (git): * test/test_shellwords.rb (TestShellwords): Add many more tests
- for handling whitespace characters and frozenness.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53071 b2dd03c8-... - 05:19 AM Revision 273d5004 (git): * lib/shellwords.rb (Shellwords#shellsplit): Document that this
- method does not treat shell metacharacters as such.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53070 b2dd03c8... -
03:53 AM Bug #11809: method_missing should not be refined
- r53060 introduce behavior change between 2.2 and 2.3.
NEWS should be updated too. - 03:21 AM Revision c53479ae (git): ChangeLog: r53068 entry [ci skip]
- oops :x
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:17 AM Revision bd13788f (git): lib/shellwords.rb: do not change API with frozen-string-literal
- This fixes a bug introduced in r53066 when attempting to
shellescape an empty string.
* lib/shellwords.rb (shellesca... -
02:48 AM Bug #11787 (Closed): rb_inspect() should check Encoding.default_internal instead of Encoding.default_external
- Applied in changeset r53067.
----------
* object.c (rb_inspect): check the default internal encoding as
String#ins... -
02:15 AM Bug #11787: rb_inspect() should check Encoding.default_internal instead of Encoding.default_external
- Looks good the concept.
Could you rebase and commit it? -
02:48 AM Revision 2854a7f1 (git): * object.c (rb_inspect): check the default internal encoding as
- String#inspect do.
[ruby-dev:49415] [Bug #11787]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53067 b2dd03c8... - 02:43 AM Revision fdfb8804 (git): * lib/shellwords.rb: Turn on frozen-string-literal after fixing
- shellsplit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:45 AM Revision 373489bb (git): KNOWNBUGS.rb: Fixed typo, made more explicit [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:30 AM Bug #11810 (Closed): [PATCH] OpenSSL::SSL::SSLcontext#{alpn,npn}_select_cb= does not work properly
- Applied in changeset r53064.
----------
* ext/openssl/ossl_ssl.c (ssl_npn_select_cb_common): fix parsing
protocol ... -
01:29 AM Revision 1dd1a987 (git): * ext/openssl/ossl_ssl.c (ssl_npn_select_cb_common): fix parsing
- protocol list.
The protocol list from OpenSSL is not null-terminated.
patched by Kazuki Yamaguchi [Bug #11810] [r...
12/12/2015
-
11:32 PM Bug #11807 (Closed): Build failure of Ruby 2.3.0 preview1 and 2
-
10:53 PM Bug #11807: Build failure of Ruby 2.3.0 preview1 and 2
- I've verified that the rbenv regression fix (https://github.com/rbenv/rbenv/pull/836) does indeed fix this issue for ...
-
02:47 AM Bug #11807: Build failure of Ruby 2.3.0 preview1 and 2
- I got some related files.
https://gist.github.com/todd/e7ce9f282a934ca3f8a5 -
10:29 PM Bug #11811: Chaining lazy enumerators causes duplicate ouput
- Ouch.
Very odd. With `p` instead of `puts`, the output is not doubled. -
05:45 PM Bug #11811 (Closed): Chaining lazy enumerators causes duplicate ouput
- In Ruby 2.3.0-preview2, I'm seeing a change in behavior using lazy enumerators with select/reject and the & operator:...
-
10:19 PM Bug #11762: Array#dig can raise TypeError: no implicit conversion of Symbol/String into Integer
- As described by Matz, it sounds like the implementation would be equivalent to
~~~
def dig(key, *keys)
value =... -
09:16 PM Bug #11762: Array#dig can raise TypeError: no implicit conversion of Symbol/String into Integer
- Yukihiro Matsumoto wrote:
> Hmm,
>
> `{a: 'hello'}.dig(:a, :b)` should raise TypeError since a string do not have... -
09:52 AM Bug #11762 (Closed): Array#dig can raise TypeError: no implicit conversion of Symbol/String into Integer
- Applied in changeset r53058.
----------
object.c: raise TypeError
* object.c (rb_obj_dig): raise TypeError if an el... -
01:40 AM Bug #11762: Array#dig can raise TypeError: no implicit conversion of Symbol/String into Integer
- Hmm,
`{a: 'hello'}.dig(:a, :b)` should raise TypeError since a string do not have method `dig`.
Matz.
-
12:06 AM Bug #11762: Array#dig can raise TypeError: no implicit conversion of Symbol/String into Integer
- Matz, please confirm we should change `{a: 'hello'}.dig(:a, :b)` from returning `nil` to raising an error, since you ...
- 09:40 PM Revision 13d8bb03 (git): * lib/ostruct.rb: Have OpenStruct#dig raise if argument is not a symbol
- nor a string. See [#11762]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:32 PM Revision 96c4fa0b (git): vm_insnhelper.c: adjust indent [ci skip]
- * vm_insnhelper.c (vm_call_method_missing): remove spaces just
before a tab to adjust indent.
git-svn-id: svn+ssh:... -
06:24 PM Bug #11812 (Closed): Lack of space between colon and % literal causes syntax error
- The following snippet
~~~
{tags:%w(a)}
~~~
executes fine in ruby 2.2.3, but raises "syntax error, unexpected... -
05:34 PM Bug #11810 (Closed): [PATCH] OpenSSL::SSL::SSLcontext#{alpn,npn}_select_cb= does not work properly
- The protocol list passed to the callback function (set by `SSL_CTX_set_alpn_select_cb`, `SSL_CTX_set_next_proto_selec...
-
04:30 PM Feature #8544: OpenURI should open 'file://' URIs
- I think the difference in #relative? #absolute? behaviour also points that absolute URI with "file://" should be "ope...
-
03:09 PM Bug #11809 (Closed): method_missing should not be refined
- Applied in changeset r53060.
----------
* vm_insnhelper.c (vm_call_method_missing): method_missing should
not be r... -
03:01 PM Bug #11809 (Closed): method_missing should not be refined
- The following code prints `[:Refinement, :abc]`, but `method_missing` should not be refined because it's indirect cal...
- 03:09 PM Revision e3d297ba (git): * 2015-12-13
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:08 PM Revision 3703ebbe (git): * vm_insnhelper.c (vm_call_method_missing): method_missing should
- not be refined.
[ruby-core:72080] [Bug #11809]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53060 b2dd03c8-39... -
02:01 PM Revision 7fe3c266 (git): * ext/nkf/nkf-utf8/nkf.c: Merge nkf 2.1.4.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:29 PM Feature #10130: String format with nested hash
- Now that we have `Hash#dig` and `Array#dig` coming for Ruby 2.3, I think that this proposal of mine from the past mak...
-
09:52 AM Revision 975c414b (git): object.c: raise TypeError
- * object.c (rb_obj_dig): raise TypeError if an element does not
have #dig method. [ruby-core:71798] [Bug #11762]
... -
09:51 AM Revision 2b988c36 (git): vm_eval.c: hook after method_missing
- * vm_eval.c (rb_check_funcall_with_hook): call hook after
method_missing call when missing.
git-svn-id: svn+ssh://... -
09:29 AM Revision c0c73379 (git): * test/ruby/test_regexp.rb: Add test cases for `$KCODE` and `$=` warning
- [Misc #11770][ruby-dev:49398]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53056 b2dd03c8-39d4-4d8f-98ff-823fe6... -
09:05 AM Feature #11405: [PATCH] hash.c: minor speedups to int/fixnum keys
- > Yes, it will solve the issue. But I'm unsure if we need to fix this issue. Accessing elements takes just some nano ...
-
07:08 AM Feature #11405: [PATCH] hash.c: minor speedups to int/fixnum keys
- 2015-12-12 12:21 GMT+09:00 Eric Wong <[email protected]>:
> But wasn't the goal of adding rehash in r53031 to i... -
03:28 AM Feature #11405: [PATCH] hash.c: minor speedups to int/fixnum keys
- [email protected] wrote:
> Eric Wong wrote:
> > Perhaps teach developers to rehash explicitly. Maybe Hash#freez... -
12:23 AM Feature #11405: [PATCH] hash.c: minor speedups to int/fixnum keys
- Eric Wong wrote:
> Perhaps teach developers to rehash explicitly. Maybe Hash#freeze
> can imply rehash, too. Bu... -
09:03 AM Revision 3aeef6bc (git): test_thread.rb: stay alive
- * test/ruby/test_thread.rb (test_thread_name): the target
thread needs to stay alive till the end of this test, so ... -
09:00 AM Revision 8e5595b5 (git): vm.c: free tables at destruction
- * vm.c (ruby_vm_destruct): free loading_table and fronzen_strings
tables at destruction.
git-svn-id: svn+ssh://ci.... -
08:31 AM Revision d79b5e19 (git): common.mk: help of exam [ci skip]
- * common.mk (help): mention `exam` target.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53053 b2dd03c8-39d4-4d8... -
08:28 AM Revision 1d5c9d10 (git): common.mk: more opts
- * common.mk (help): separate TESTOPTS and TESTS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53052 b2dd03c8-39... -
08:26 AM Bug #11501: About priority of a hash element when using {**hash1, **hash2} literal
- Add description to NEWS about this on `ruby_2_2` branch (I committed in doc/NEWS-2.2.0 on trunk and backport it) at r...
-
08:17 AM Bug #11501 (Closed): About priority of a hash element when using {**hash1, **hash2} literal
- Applied in changeset r53050.
----------
* doc/NEWS-0.2.2: add description about incompatible change in Hash
duplic... -
08:25 AM Revision 4aeace73 (git): merge revision(s) 53050: [Backport #11501]
- * doc/NEWS-0.2.2: add description about incompatible change in Hash
duplicated key overriding policy. [Bug ... -
08:20 AM Bug #11805: Cannot run Ruby
- I figured out how to fix it.
I manually deleted the following directories on Ubuntu linux that were created when I... -
12:48 AM Bug #11805 (Feedback): Cannot run Ruby
- Can you try with clean install with Ruby 2.3.0 preview2?
It's caused by overwrite install probably. -
08:17 AM Revision 75c5b0af (git): * doc/NEWS-0.2.2: add description about incompatible change in Hash
- duplicated key overriding policy. [Bug #10315] [Bug #11501]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53050 ... -
08:06 AM Revision f418a0c5 (git): add insight about parallel test-all
- see also https://bugs.ruby-lang.org/projects/ruby/wiki/DeveloperHowto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr... -
07:07 AM Revision a2fcdb4f (git): iseq.c: use rb_check_funcall
- * iseq.c (rb_iseq_load_iseq): use rb_check_funcall instead of
repeating method search.
git-svn-id: svn+ssh://ci.ru... -
06:06 AM Bug #11779: Module#using does not make sense as a method
- Shugo Maeda wrote:
> As I stated before, it might be better to introduce Kernel#using, which ignores module_eval blo... -
04:35 AM Bug #11779: Module#using does not make sense as a method
- bug hit wrote:
> > Perhaps, perhaps not. I depends on what the phrase "whatever the class body can do" mean.
> > ... -
04:37 AM Feature #11688: Struct and OpenStruct will be able to chain the Hash#dig Array#dig
- Nobuyoshi Nakada wrote:
> As those two classes were not parts of [Feature #11643], they are not rejected nor discuss... -
01:00 AM Feature #5053 (Rejected): ruby コマンドと libruby の食い違いチェック
-
01:00 AM Feature #5053 (Closed): ruby コマンドと libruby の食い違いチェック
12/11/2015
-
11:53 PM Bug #11808 (Assigned): Different behavior between Enumerable#grep and Array#grep
- Regex special global variables are available within the block for `Array#grep`, but are nil within the block for `Enu...
-
10:49 PM Feature #11806 (Closed): [PATCH] IO#advise should not raise Errno::ENOSYS
- Applied in changeset r53047.
----------
IO#advise should not raise Errno::ENOSYS
As it is just a hint the kernel is... -
10:36 PM Feature #11806 (Assigned): [PATCH] IO#advise should not raise Errno::ENOSYS
- OK, agreed.
-
10:29 PM Feature #11806: [PATCH] IO#advise should not raise Errno::ENOSYS
- [email protected] wrote:
> Or `rb_sys_fail` should map `ESYS` to `NotImplementedError`?
I don't think that's a ... -
10:13 PM Feature #11806: [PATCH] IO#advise should not raise Errno::ENOSYS
- Or `rb_sys_fail` should map `ESYS` to `NotImplementedError`?
-
10:08 PM Feature #11806: [PATCH] IO#advise should not raise Errno::ENOSYS
- Not raising `NotImplementedError`?
-
08:05 PM Feature #11806 (Closed): [PATCH] IO#advise should not raise Errno::ENOSYS
- As it is just a hint the kernel is free to ignore,
IO#advise already succeeds when posix_fadvise is not
available b... - 10:49 PM Revision fae14441 (git): IO#advise should not raise Errno::ENOSYS
- As it is just a hint the kernel is free to ignore,
IO#advise already succeeds when posix_fadvise is not
available bui... -
10:36 PM Bug #11807 (Third Party's Issue): Build failure of Ruby 2.3.0 preview1 and 2
- I got build failure reports for Ruby 2.3.0 preview 1 and 2.
* https://github.com/rbenv/ruby-build/issues/833
* ... -
10:05 PM Bug #10097 (Closed): Case-insensitive Regexp matching for Windows-1252 not working for ŠšŽžŒœÿŸ
- Applied in changeset r53046.
----------
enc/windows_1252.c: new
* enc/windows_1252.c: separate from ISO-8859-1 to f... -
08:04 AM Bug #10097: Case-insensitive Regexp matching for Windows-1252 not working for ŠšŽžŒœÿŸ
- Nobuyoshi Nakada wrote:
> Is this correct?
> https://github.com/nobu/ruby/compare/windows-1252
Sorry for the ver... -
10:05 PM Revision 3ee57230 (git): enc/windows_1252.c: new
- * enc/windows_1252.c: separate from ISO-8859-1 to fix 0x80..0x9e
range. [ruby-core:64049] [Bug #10097]
git-svn-id... -
08:18 PM Feature #11405: [PATCH] hash.c: minor speedups to int/fixnum keys
- Yusuke Endoh <[email protected]> wrote:
> > I'm curious, how did you notice this?
>
> In short, I was studying ... -
08:18 PM Feature #11405: [PATCH] hash.c: minor speedups to int/fixnum keys
- > The cause was a dense cdhash in opt_case_dispatch. Both programs
> create a cdhash that has 10001 elements, which ... -
04:48 PM Feature #11405: [PATCH] hash.c: minor speedups to int/fixnum keys
- > I'm curious, how did you notice this?
In short, I was studying hash conflicts for another reason.
The deta... -
08:24 AM Feature #11405 (Closed): [PATCH] hash.c: minor speedups to int/fixnum keys
- Applied in changeset r53037.
----------
hash.c (rb_num_hash_start): avoid pathological behavior
The OR-ing itself i... -
06:42 PM Feature #9451: Refinements and unary & (to_proc)
- Sorry, just saw that [issue 9786](https://bugs.ruby-lang.org/issues/9786) is equivalent to this one and was marked as...
- 04:34 PM Revision df96064c (git): * 2015-12-12
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:31 PM Revision ead37757 (git): NEWS: sort alphabetically
- * NEWS (Stdlib compatibility issues): sort classes/modules in
alphabetical order.
git-svn-id: svn+ssh://ci.ruby-la... -
04:03 PM Bug #11804: 52931 以降、caseでInfinityを使用するとFloatDomainErrorが発生する
- Thanks for your patch (Eric) :)
-
01:53 PM Bug #11804: 52931 以降、caseでInfinityを使用するとFloatDomainErrorが発生する
- Backported into `ruby_2_2` branch at r53040.
-
09:15 AM Bug #11804 (Closed): 52931 以降、caseでInfinityを使用するとFloatDomainErrorが発生する
- Applied in changeset r53039.
----------
insns.def (opt_case_dispatch): avoid converting Infinity
Infinity cannot be... -
09:05 AM Bug #11804: 52931 以降、caseでInfinityを使用するとFloatDomainErrorが発生する
- Not a new bug, actually; just easier to find since r52931
(Sorry I don't know Japanese, but was able to understand t... -
08:24 AM Bug #11804 (Closed): 52931 以降、caseでInfinityを使用するとFloatDomainErrorが発生する
- 以下のようなケースです。
```ruby
def test_infinity
inf = 1.0/0.0
result = case inf
when true then... - 02:38 PM Revision 96f50503 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 02:37 PM Revision 4a1a7499 (git): * append newline at EOF.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:37 PM Revision 5c28308f (git): * sample/trick2015/: added the award-winning entries of TRICK 2015.
- See https://github.com/tric/trick2015 for the contest outline.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@530... -
01:52 PM Revision 03ad9a25 (git): merge revision(s) 53039: [Backport #11804]
- * insns.def (opt_case_dispatch): avoid converting Infinity
* test/ruby/test_optimization.rb (test_opt_case_d... -
10:24 AM Bug #11805 (Closed): Cannot run Ruby
- I installed the new Ruby, and tried to run Ruby, but it raises the following error.
(Since I installed Ruby 2.3.0p... -
09:20 AM Feature #5478: Add syntax to import Set into core
- It may be a good idea if somebody could provide some actual data/examples for the claim "However, a lot of Ruby devel...
- 09:15 AM Revision d65bc80d (git): insns.def (opt_case_dispatch): avoid converting Infinity
- Infinity cannot be written as an optimizable literal,
so it can never match a key in a CDHASH.
Avoid converting it to... -
08:28 AM Feature #11788: New ISeq serialize binary format
- On 2015/12/11 17:15, Vít Ondruch wrote:
> Dne 8.12.2015 v 11:56 [email protected] napsal(a):
>> The goal of this proje... - 08:25 AM Revision 89288e30 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:23 AM Revision e52b3a0e (git): hash.c (rb_num_hash_start): avoid pathological behavior
- The OR-ing itself is bad for a hash function, and shifting 3 bits
left was not enough to undo the damage done by shif... - 07:43 AM Revision a26d09da (git): NEWS: add note about Fiddle GVL release
- * NEWS: note Fiddle GVL release [Feature #11607]
* ext/fiddle/function.c (Init_fiddle_function): document above, too
... -
06:20 AM Bug #11803: NoMethodError when calling String#gsub
- first i dont think its a good idea in a to_s method to change the value of the object.
otherwise you need to use @in... -
06:19 AM Bug #11803 (Rejected): NoMethodError when calling String#gsub
- ~~~ruby
def to_s
return unless word
word = word.gsub(/a/, "")
~~~
You make a new local variable here... -
12:37 AM Bug #11803 (Rejected): NoMethodError when calling String#gsub
- Assigning the result of a call to String#gsub throws a NoMethodError. It seems to have to do with assigning the retur...
-
06:03 AM Revision 4973efd7 (git): test_ssl.rb: fix ssl option flags tests
- * test/openssl/test_ssl.rb (test_setting_twice): ignore fixed
flags. some flags like SSL_OP_NO_SSL_MASK cannot cha... -
05:56 AM Revision ec572a11 (git): test_io.rb: fix IO#advise on aarch64-linux
- * test/ruby/test_io.rb (test_advise, test_advise_pipe): fadvise on
aarch64-linux returns ESYS.
git-svn-id: svn+ssh... -
02:58 AM Revision 5e69854d (git): * NEWS: Mentioned rubygems-2.5.1
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:53 AM Revision 0c5841be (git): * lib/rubygems: Update to RubyGems 2.5.1
- * test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:38 AM Revision 165e10b6 (git): compile.c: rehash cdhash
- * compile.c (iseq_compile_each, ibf_load_object_hash): rehash
case-dispatch hash to reduce collisions.
http://d.h... -
02:11 AM Revision d93dcddd (git): common.mk: add dependencies
- * common.mk: add dependencies of compile.o for r52949.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53030 b2dd0... -
02:08 AM Revision 825bcc36 (git): merger.rb: show procedure to push tag into GitHub
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
12/10/2015
-
11:35 PM Feature #11100: Permit multiple captures with String[Regexp, ...]
- I support allowing multiple captures. I think the [1,2] syntax is the most intuitive.
-
10:00 PM Feature #11547: remove top-level constant lookup
- Hi Shugo. Just as it does now, it doesn't perform any magic (fallback to some other scope) and doesn't emit any warni...
-
07:28 PM Feature #11405: [PATCH] hash.c: minor speedups to int/fixnum keys
- [email protected] wrote:
> This caused a lot of trivial hash conflicts of Fixnums that is >= 16384.
Thanks for ... -
10:58 AM Feature #11405: [PATCH] hash.c: minor speedups to int/fixnum keys
- i did a little check:
~~~ruby
16384.upto(65535).group_by(&:hash).select {|k,v| v.size == 1} #=> {}
~~~
means ... -
10:34 AM Feature #11405 (Assigned): [PATCH] hash.c: minor speedups to int/fixnum keys
- This caused a lot of trivial hash conflicts of Fixnums that is >= 16384.
~~~~
$ ./miniruby -ve 'p 16384.hash; p 1... -
07:08 PM Bug #11802 (Rejected): Hash.new and {} have different behaviour
-
03:59 PM Bug #11802: Hash.new and {} have different behaviour
- `p {}` is parsed as `p() { }`
you see it when you try:
~~~ruby
p { :key => "value"} #which does raise a Syntax... -
03:39 PM Bug #11802: Hash.new and {} have different behaviour
- It looks like a block, but:
irb(main):001:0> {}.class
=> Hash
irb(main):002:0> {}
=> {} -
03:26 PM Bug #11802 (Rejected): Hash.new and {} have different behaviour
- It looks that {} is not recognized as a variable sometimes.
irb(main):001:0> p Hash.new
{}
=> {}
irb(main):002:... -
06:57 PM Feature #11801 (Closed): rb_inspect shouldn't raise error even if calling inspect returns non compatible strings
- Applied in changeset r53027.
----------
* object.c (rb_inspect): dump inspected result with rb_str_escape()
instea... -
04:22 AM Feature #11801 (Closed): rb_inspect shouldn't raise error even if calling inspect returns non compatible strings
- Current rb_inspect raises Encoding::Compatibility error if obj.inspect returns a string
whose encoding is not compat... -
06:57 PM Revision e3ab670a (git): * object.c (rb_inspect): dump inspected result with rb_str_escape()
- instead of raising Encoding::CompatibilityError. [Feature #11801]
* string.c (rb_str_escape): added to dump given st... -
06:05 PM Feature #10617: Change multiple assignment in conditional from parse error to warning
- Why hasn't this been accepted? There is no good reason that an expression that could be nil should not be testable.
-
04:26 PM Feature #11578: Add a method to check if a number is probably prime or composite (Patch included)
- NagaChaitanya Vellanki wrote:
> Yui NARUSE wrote:
> > Use OpenSSL::BN.
>
> Rehearsal ---------------------------... -
04:24 PM Feature #11578: Add a method to check if a number is probably prime or composite (Patch included)
- Yui NARUSE wrote:
> Use OpenSSL::BN.
Rehearsal ---------------------------------------------------------------
P... -
01:30 AM Feature #11578 (Rejected): Add a method to check if a number is probably prime or composite (Patch included)
- Use OpenSSL::BN.
-
04:12 PM Bug #11779: Module#using does not make sense as a method
- Shugo Maeda wrote:
> bug hit wrote:
> > > > ruby is too dynamic a language to have a clear distinction between what... -
09:28 AM Bug #11779: Module#using does not make sense as a method
- bug hit wrote:
> > > ruby is too dynamic a language to have a clear distinction between what you're calling "static"... -
07:17 AM Bug #11779: Module#using does not make sense as a method
- Shugo Maeda wrote:
> bug hit wrote:
> > Shugo Maeda wrote:
> > > ...
> > > Because refinement activation should b... -
07:07 AM Bug #11779: Module#using does not make sense as a method
- bug hit wrote:
> Shugo Maeda wrote:
> > ...
> > Because refinement activation should be as static as possible.
> ... -
07:01 AM Bug #11779: Module#using does not make sense as a method
- Shugo Maeda wrote:
> ...
> Because refinement activation should be as static as possible.
> ...
ruby is too dyn... -
03:58 AM Bug #11779: Module#using does not make sense as a method
- bug hit wrote:
> so a #using in module_eval is only useful if you want the refinement confined to the block. There ... - 04:11 PM Revision 9e0d92a4 (git): * 2015-12-11
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:10 PM Revision 08937d8d (git): fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:53 PM Feature #5478: Add syntax to import Set into core
- Another syntax idea:
```ruby
{|1,2,3|}
``` -
12:26 PM Feature #11690: Update Hash during multiple assignment
- I made a gem for this. [gem assign](https://github.com/danielpclark/assign)
I figure Kernel#assign is the best met... -
06:00 AM Revision 10f7ad62 (git): * test/ruby/test_gc.rb (test_expand_heap): relax condition (1->2).
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:17 AM Bug #11313: Fixed a couple of typos
- I applied only 0002-cont.c-it-must-be-not-it-must-be-be.patch. 0001-proc.c-be-a-kind_of-not-be-be-a-kind_of.patch is...
-
05:16 AM Bug #11313 (Closed): Fixed a couple of typos
- Applied in changeset r53023.
----------
* cont.c: fix a double word typo.
[Bug #11313][ruby-core:69749] -
05:16 AM Revision 88c78ef1 (git): * cont.c: fix a double word typo.
- [Bug #11313][ruby-core:69749]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53023 b2dd03c8-39d4-4d8f-98ff-823fe6... -
05:14 AM Bug #11764 (Closed): ext/tk/lib/multi-tk.rb: fix three typos.
- Applied in changeset r53022.
----------
* ext/tk/lib/multi-tk.rb: fix typos.
[Bug #11764][ruby-core:71800] -
05:13 AM Revision 567eb15d (git): * ext/tk/lib/multi-tk.rb: fix typos.
- [Bug #11764][ruby-core:71800]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53022 b2dd03c8-39d4-4d8f-98ff-823fe6... - 02:35 AM Revision 7c41f093 (git): compile.c (iseq_compile_each): reduce needless rb_str_dup
- There is no need to dup the fstring unless we want to set the
debug ivar for it.
[ruby-core:72018] <5668DB6E.8000101... -
12:51 AM Bug #11799: Object allocation during garbage collection phase terminates the Ruby process
- Koichi Sasada wrote:
> https://github.com/rdp/google_hash/blob/master/ext/template/google_hash.cpp.erb#L170
>
> I... -
12:36 AM Bug #11799 (Third Party's Issue): Object allocation during garbage collection phase terminates the Ruby process
-
12:35 AM Bug #11799: Object allocation during garbage collection phase terminates the Ruby process
- https://github.com/rdp/google_hash/blob/master/ext/template/google_hash.cpp.erb#L170
I'm not sure the implementati... -
12:26 AM Bug #11799: Object allocation during garbage collection phase terminates the Ruby process
- Thank you for your log.
This is a reason.
```
(gdb) thread 12
[Switching to thread 12 (Thread 0x7fffe5fc4700 ... -
12:08 AM Bug #11799: Object allocation during garbage collection phase terminates the Ruby process
- [email protected] wrote:
> * If this is a problem due to usage of certain gems that aren't 'well-behaved', it w... -
12:33 AM Bug #11800 (Closed): MakeMakefile breaks with frozen strings
- Applied in changeset r53020.
----------
disable frozen-string-literal
* lib/mkmf.rb, lib/shellwords.rb: disable fro... -
12:32 AM Revision 01c43216 (git): disable frozen-string-literal
- * lib/mkmf.rb, lib/shellwords.rb: disable frozen-string-literal.
[ruby-core:72011] [Bug #11800]
git-svn-id: svn+ss... -
12:11 AM Bug #11798: MkConfig breaks with frozen strings
- `RbConfig.expand` has to modify the argument destructively.
12/09/2015
-
10:48 PM Bug #11800 (Closed): MakeMakefile breaks with frozen strings
- It seems MkConfig(RbConfig) breaks frozen strings mode
~~~
/Users/deepj/.rubies/ruby-2.3.0-dev/lib/ruby/2.3.0/mkm... -
10:15 PM Bug #11799: Object allocation during garbage collection phase terminates the Ruby process
- Supplied correct edition of file ruby_bug-gdb.txt
-
10:07 PM Bug #11799 (Third Party's Issue): Object allocation during garbage collection phase terminates the Ruby process
- Resurrection of Bug #11549 that was apparently inadvertently deleted.
Also note the similarity to Bug #10868.
**S... -
09:54 PM Revision f8a72047 (git): fix r53013; the environment defines "example" as local hostname
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:34 PM Revision 328205c5 (git): marshal.c: remove NULL checks for *_memsize
- This follows r52986, NULL checks in rb_data_type_t.function.dsize
callbacks are unnecessary.
* marshal.c (memsize_du... -
09:11 PM Bug #11798: MkConfig breaks with frozen strings
- Hi Nobu, I offer this alternative patch. What do you think?
-
08:53 PM Bug #11798 (Closed): MkConfig breaks with frozen strings
- Applied in changeset r53017.
----------
mkconfig.rb: must not be frozen
* tool/mkconfig.rb: rbconfig must not be fr... -
08:42 PM Bug #11798 (Closed): MkConfig breaks with frozen strings
- It seems MkConfig(RbConfig) breaks frozen strings mode
~~~
/Users/deepj/.rubies/ruby-2.3.0-dev/lib/ruby/2.3.0/x86... -
08:53 PM Revision 19f035cc (git): mkconfig.rb: must not be frozen
- * tool/mkconfig.rb: rbconfig must not be fronzen-string-literal to
expand CONFIG hash. [ruby-core:72006] [Bug #117... -
08:15 PM Misc #11795 (Closed): [PATCH] get rid of breaking strict alias for XL compiler
- gcc/clang optimize away that `memcpy`, at least.
-
02:35 PM Misc #11795: [PATCH] get rid of breaking strict alias for XL compiler
- Please cancel this, I see I already submitted the changes in bug 11790. Sorry about that.
-
02:29 PM Misc #11795 (Closed): [PATCH] get rid of breaking strict alias for XL compiler
- Related to bug 11790. Thank you for adding the changeset.
It may be better to add a IBM XL specific instruction f... - 08:07 PM Revision 10735e2d (git): ext/socket/ifaddr.c: remove empty ifaddr_mark
- We do not need to maintain empty functions for GC,
gc_mark_children will not attempt to dereference NULL
dmark callba... -
08:06 PM Revision e373aed7 (git): TestIO_Console.rb: disable getpass test by --excludes
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 07:58 PM Revision 06d1660e (git): proc.c: remove bm_free, use default
- bm_free no longer has special handling of unlinked method
entries since r50728 when method entries were made VALUEs
f... -
07:41 PM Revision f3d087c7 (git): add tests for El Capitan failure
- http://rubyci.s3.amazonaws.com/osx1011/ruby-trunk/log/20151209T174501Z.fail.html.gz
git-svn-id: svn+ssh://ci.ruby-la... -
06:15 PM Revision dec78a7a (git): dir.c, io.c: use rb_id_encoding
- * dir.c (dir_initialize): rb_id_encoding() returns same ID with
caching.
* io.c (Init_IO): ditto.
git-svn-id: svn... -
05:48 PM Revision ccc77661 (git): test_rubyoptions.rb: test --debug
- * test/ruby/test_rubyoptions.rb (test_frozen_string_literal_debug):
test --debug option too.
git-svn-id: svn+ssh:/... -
05:21 PM Revision a50ba967 (git): test_ssl.rb: fix ssl option flags tests
- * test/openssl/test_ssl.rb (test_setting_twice): ignore fixed
falgs. some flags like SSL_OP_NO_SSL_MASK cannot cha... -
05:02 PM Feature #11725 (Closed): debugging support for frozen string literal
- Applied in changeset r53009.
----------
* compile.c (iseq_compile_each): do not add debug information
without --de... -
04:32 PM Feature #11725 (Assigned): debugging support for frozen string literal
- We found performance regression with this feature.
"foo".dup with frozen literal also copy location information.
... -
05:02 PM Revision 6fb2ec53 (git): * compile.c (iseq_compile_each): do not add debug information
- without --debug or --debug=frozen-string-literal option
because String#dup slows down with debug information.
[Fe... -
04:37 PM Bug #11779: Module#using does not make sense as a method
- Shugo Maeda wrote:
> bug hit wrote:
> > > Nobu didn't explain that Module#using should work in methods.
> > > Modu... -
06:24 AM Bug #11779: Module#using does not make sense as a method
- bug hit wrote:
> > Nobu didn't explain that Module#using should work in methods.
> > Module#using is designed not f... -
05:40 AM Bug #11779: Module#using does not make sense as a method
- Shugo Maeda wrote:
> bug hit wrote:
> > Shugo Maeda wrote:
> > > bug hit wrote:
> > > > so if `using` inside modu... -
05:29 AM Bug #11779: Module#using does not make sense as a method
- bug hit wrote:
> Shugo Maeda wrote:
> > bug hit wrote:
> > > so if `using` inside module_eval is intended to work,... -
05:17 AM Bug #11779: Module#using does not make sense as a method
- Shugo Maeda wrote:
> bug hit wrote:
> > so if `using` inside module_eval is intended to work, then invoking such a ... -
05:02 AM Bug #11779: Module#using does not make sense as a method
- bug hit wrote:
> so if `using` inside module_eval is intended to work, then invoking such a module_eval from a metho... -
02:00 AM Bug #11779: Module#using does not make sense as a method
- bug hit wrote:
> bug hit wrote:
> > Nobuyoshi Nakada wrote:
> > > It is not a noop, just you don't use the refined... -
01:55 AM Bug #11779: Module#using does not make sense as a method
- bug hit wrote:
> Nobuyoshi Nakada wrote:
> > It is not a noop, just you don't use the refined method there.
>
> ... -
01:51 AM Bug #11779: Module#using does not make sense as a method
- Nobuyoshi Nakada wrote:
> It is not a noop, just you don't use the refined method there.
Where "there"? Where sh... -
01:41 AM Bug #11779: Module#using does not make sense as a method
- It is not a noop, just you don't use the refined method there.
-
01:31 AM Bug #11779: Module#using does not make sense as a method
- Please explain the following behavior of `using`:
```ruby
module Refinement
refine String do
def refined?... -
01:17 AM Bug #11779: Module#using does not make sense as a method
- Yukihiro Matsumoto wrote:
> Providing a feature by a method does not imply dynamic scoping, for example, Module#priv... -
04:17 PM Feature #11797: `Enumerator#with_object` with multiple objects
- The StackOverflow question link was wrong. It should be: http://stackoverflow.com/questions/34181231.
-
04:15 PM Feature #11797 (Closed): `Enumerator#with_object` with multiple objects
- Sometimes, when working with `Enumerator#with_object`, I want to keep some additional temporary objects besides the o...
-
03:29 PM Revision c7e51700 (git): follow r53004
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:26 PM Bug #11792: Backport r52199 (pthread_getattr_np is broken on AIX)
- Backported into `ruby_2_2` branch at r53007.
-
03:26 PM Revision 80f81024 (git): merge revision(s) 52199: [Backport #11792]
- * configure.in: pthread_getattr_np is broken on AIX.
More specifically, the stack address and size returned... -
03:21 PM Bug #11794: backport r51808
- Backported into `ruby_2_2` branch at r53006.
-
06:17 AM Bug #11794 (Closed): backport r51808
- 毎回mswinのCIでエラーなので。
-
03:21 PM Revision 319a3fa7 (git): merge revision(s) 51808: [Backport #11794]
- * common.mk (update-gems): use BASERUBY instead of RUNRUBY.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ru... - 03:12 PM Revision 4089e737 (git): * 2015-12-10
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:10 PM Revision 4b8da4b9 (git): * iseq.c: rename methods
- RubyVM::InstructionSequence#to_binary_format -> #to_binary
RubyVM::InstructionSequence.from_binary_format -> .load_... -
02:33 PM Feature #11796 (Open): [PATCH] Refactor reduce call get_stat()
- I fix to reduce call get_stat() as much as possible.
But sorry, I don't have every environment for testing. -
02:14 PM Revision 98b75d59 (git): References to tickets added
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:14 PM Revision 41b719d0 (git): fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:46 PM Feature #11781: Would it be possible to alias .prepend() towards .unshift() for class Array by default?
- I too would expect `Array#prepend` to be the opposite of `Array#concat`, taking `other_ary` as a parameter, because t...
-
12:34 PM Feature #11781: Would it be possible to alias .prepend() towards .unshift() for class Array by default?
- `String#prepend` and `String#concat` are a pair that work similarly (with just the difference on where the new substr...
-
07:51 AM Feature #11781: Would it be possible to alias .prepend() towards .unshift() for class Array by default?
- Their arities differ.
Let `String#prepend` take any number of arguments?
~~~diff
diff --git i/array.c w/array.c
... -
07:28 AM Feature #11781: Would it be possible to alias .prepend() towards .unshift() for class Array by default?
- I prefer we avoid introducing needless aliases.
It increases human cognitive overhead for reviewing/auditing
cod... -
03:56 AM Feature #11781: Would it be possible to alias .prepend() towards .unshift() for class Array by default?
- It sounds nice. Since it is right before 2.3 release, it may be too late for it.
Matz.
-
12:29 PM Bug #11764: ext/tk/lib/multi-tk.rb: fix three typos.
- Maybe you should set to another guy, because the last connection of Hidetoshi Nagai is 07/19/2015.
https://bugs.ru... -
11:53 AM Revision ac5c2218 (git): test_io_console.rb: skip
- * test/io/console/test_io_console.rb (test_getpass): skip for the
time being.
git-svn-id: svn+ssh://ci.ruby-lang.o... -
11:12 AM Misc #11789 (Closed): [PATCH] Refactor File::Stat#world_readable? and #world_writable?
-
10:57 AM Misc #11789: [PATCH] Refactor File::Stat#world_readable? and #world_writable?
- This patch was aleady applied.
Close? -
10:45 AM Revision 040a83d8 (git): test_io_console.rb: wait
- * test/io/console/test_io_console.rb (test_getpass): wait for the
child process to read the input, not to read it b... -
09:58 AM Feature #11786: [PATCH] micro-optimize case dispatch even harder
- On 2015/12/09 18:25, Eric Wong wrote:
>> > (Sorry if I overlooked marking)
> Wait, putobject calls (and TS_VALUE o... -
09:28 AM Feature #11786: [PATCH] micro-optimize case dispatch even harder
- SASADA Koichi <[email protected]> wrote:
> On 2015/12/08 13:53, Eric Wong wrote:
> >> > how to mark literal objects?
... -
08:02 AM Bug #11790 (Closed): [PATCH] ANSI alias rules fix
- Applied in changeset r52999.
----------
regparse.h: ANSI alias rule fix
* regparse.h (SET_NTYPE): get rid of breaki... -
08:02 AM Revision 1263f82a (git): regparse.h: ANSI alias rule fix
- * regparse.h (SET_NTYPE): get rid of breaking strict aliasing.
patch by Zarko Todorovski in [ruby-core:71953]. [Bu... -
07:46 AM Revision 6e6dcf2a (git): test_io_console.rb: ignore echo back
- * test/io/console/test_io_console.rb (test_getpass): ignore echo
back of input from the master side. some systems ... -
07:30 AM Revision b3377eaa (git): Revert r52995
- revert slow atomic operations.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52997 b2dd03c8-39d4-4d8f-98ff-823fe... -
07:16 AM Bug #11754 (Closed): Visibility scope is kept after lexical scope is closed
- Applied in changeset r52996.
----------
* vm.c (rb_vm_cref_in_context): Module#define_method in non-class
expressi... -
07:15 AM Revision 303cd88d (git): * vm.c (rb_vm_cref_in_context): Module#define_method in non-class
- expression should be public.
[Bug #11754]
* test/ruby/test_method.rb: add a test.
git-svn-id: svn+ssh://ci.rub... -
06:48 AM Revision 0599d7de (git): use atomic operations
- * regcomp.c (onig_chain_link_add): use atomic operation instead of
mutex.
* regint.h (ONIG_STATE_{INC,DEC}_THREAD):... -
06:31 AM Bug #11793: puts 'ab'.gsub('a', '\\+') - unexpected output
- The document states "It may contain back-references", `\+` is one of them.
Note: preformated text requires a prece... -
06:26 AM Bug #11793: puts 'ab'.gsub('a', '\\+') - unexpected output
- I should have used this example:
~~~
puts 'ab'.gsub('a', "\x5C\x5C\x2B")
\+b
~~~ -
06:23 AM Bug #11793: puts 'ab'.gsub('a', '\\+') - unexpected output
- Substitution parameters work in string-string mode:
~~~
irb> puts 'ab'.gsub('a', %q(\`))
b
irb> puts 'ab'.gsub(... -
06:18 AM Bug #11793 (Rejected): puts 'ab'.gsub('a', '\\+') - unexpected output
-
06:16 AM Bug #11793: puts 'ab'.gsub('a', '\\+') - unexpected output
- its because how `gsub` works you need to escape the `\`
~~~ruby
puts 'ab'.gsub('a', '\\\+') #=> \+b
~~~ -
05:31 AM Bug #11793 (Rejected): puts 'ab'.gsub('a', '\\+') - unexpected output
- Test case:
~~~ruby
puts 'ab'.gsub('a', '\\+')
~~~
Expected output:
~~~
\+b
~~~
Actual output:
~~~
... -
05:49 AM Bug #11763 (Closed): gc.c: fix two typos.
- Applied in changeset r52994.
----------
* gc.c (gc_mark_stacked_objects): fix typo.
reported by XIE Zhibang. [Bug ... -
05:49 AM Revision e48adae2 (git): * gc.c (gc_mark_stacked_objects): fix typo.
- reported by XIE Zhibang. [Bug #11763]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52994 b2dd03c8-39d4-4d8f-... -
05:38 AM Revision 6df08531 (git): * doc/syntax/refinements.rdoc: remove outdated description.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:14 AM Feature #11788: New ISeq serialize binary format
- Koichi Sasada wrote:
> Updated.
Thanks.
> I'm not sure how detail description is needed on an entry.
I'... -
05:08 AM Feature #11788: New ISeq serialize binary format
- On 2015/12/09 13:41, [email protected] wrote:
> You should mention it at NEWS.
Updated.
I'm not sure how de... -
04:41 AM Feature #11788: New ISeq serialize binary format
- Koichi Sasada wrote:
> Note that current implementation lacks error checking and verification,
> so that broken bi... -
12:53 AM Feature #11788 (Assigned): New ISeq serialize binary format
- Note that current implementation lacks error checking and verification,
so that broken binary data cause SEGV (or a... -
04:51 AM Revision 71a4d189 (git): update NEWS [ruby-core:71970]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:43 AM Revision 0d89c6db (git): stringio.c: unused variable
- * ext/stringio/stringio.c (strio_memsize): remove a variable which
is no longer used.
git-svn-id: svn+ssh://ci.rub... -
02:41 AM Revision eef8beb6 (git): add documentation for RubyVM::InstructionSequence#to_binary_format and RubyVM::InstructionSequence.from_binary_format
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:34 AM Revision a422462a (git): compile.c (ibf_dump_object_unsupported): fix spelling error
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:01 AM Revision dff42b0e (git): * ext/**/*.c (*_memsize): same as r52986 for extensions.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:46 AM Revision e76567c1 (git): * .gitignore: ignored ISeq binary format.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:45 AM Feature #11791 (Feedback): The literal quotes should accept more quote characters (aka more unicode characters)
- You didn't explain why we should extend. Extending quote characters can cause confusion.
We cannot accept it without... -
12:38 AM Revision 2f5b8f05 (git): * *.c (*_memsize): do not check ptr.
- NULL checking is finished Before call of memsize functions.
See r52979.
git-svn-id: svn+ssh://ci.ruby-lang.org/... -
12:25 AM Revision 6a15a37f (git): * test/net/smtp/test_response.rb: use Test::Unit. We should use Test::Unit
- without rubygems and rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:20 AM Revision a78023c1 (git): mark as experimental
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
12/08/2015
-
11:48 PM Revision ec74d507 (git): test_generic.rb: fix assertion
- * test/uri/test_generic.rb (test_to_s): use assert_not_predicate.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@... -
11:48 PM Bug #11792 (Closed): Backport r52199 (pthread_getattr_np is broken on AIX)
- This is a ticket to manage back-porting r52199 to 2.1 and 2.2.
-
11:41 PM Revision cf183a58 (git): string.c: use rb_id_encoding
- * string.c (rb_str_init): rb_id_encoding() returns same ID with
caching.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru... -
11:24 PM Bug #11790: [PATCH] ANSI alias rules fix
- Does CAS work?
~~~c
/* THREAD_ATOMIC_START; */
{
FreeNode *n = FreeNodeList, *n0;
while (IS_NOT_NU... -
04:32 PM Bug #11790 (Closed): [PATCH] ANSI alias rules fix
- line 70 in file regparse.h:
~~~c
#define SET_NTYPE(node, ntype) (node)->u.base.type = (ntype)
~~~
needs to ... -
09:55 PM Feature #11791 (Feedback): The literal quotes should accept more quote characters (aka more unicode characters)
- I frequently use literal quoting, aka %q[], %w[], %i[]
I'd like to suggest that the set of quoting characters shou... -
09:38 PM Bug #11759: URI breaks with frozen strings
- [email protected] wrote:
> > I prefer String.new() to "".dup because the former describes intention (of creating a ... -
09:30 PM Bug #11759 (Closed): URI breaks with frozen strings
- Applied in changeset r52981.
----------
lib/uri/generic.rb: enable frozen_string_literal
* lib/uri/generic.rb: enab... - 09:28 PM Revision f2b9563b (git): lib/uri/generic.rb: enable frozen_string_literal
- * lib/uri/generic.rb: enable frozen_string_literal
(split_userinfo): remove explicit .freeze for string literals
... - 09:27 PM Revision 0df938d5 (git): test/uri/test_generic.rb (to_s): new test
- Ensure URI::Generic#to_s continues to return mutable strings to
prevent breakage when we enable frozen string literal... -
05:38 PM Feature #11782: String#+@ and String#-@
- how about splitting strings like this?
~~~
long_string = 'first part ' +
'second part ' +
'last part'
~~~
... -
01:05 AM Feature #11782: String#+@ and String#-@
- Quoted from DevelopersMeeting20151021Japan log:
https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20151... -
05:28 PM Revision a8fb40db (git): gc.c: NULL check at memsize
- * gc.c (rb_objspace_data_type_memsize): consider NULL data uses no
memory without calling dsize function as well as... -
05:19 PM Revision e78bf797 (git): * compile.c (ibf_dump_memsize): should check NULL.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:11 PM Bug #11784: [PATCH] insns.def (opt_case_dispatch): check Float#=== redefinition
- Backported into `ruy_2_2` branch at r52977.
-
05:10 PM Revision 4beed07c (git): merge revision(s) 52928: [Backport #11784]
- * insns.def (opt_case_dispatch): check Float#=== redefinition
* test/ruby/test_optimization.rb (test_opt_cas... -
04:49 PM Feature #11785 (Closed): add `encoding:` optional argument to `String.new`
- Applied in changeset r52976.
----------
* string.c (rb_str_init): now accepts new option parameter `encoding'.
[Fe... -
03:50 PM Feature #11785: add `encoding:` optional argument to `String.new`
- Agreed. I prefer `String.new("", encoding: 'utf-8')`.
Matz.
-
09:41 AM Feature #11785: add `encoding:` optional argument to `String.new`
- Another idea, `Encoding#string`, came in my mind.
~~~diff
diff --git a/encoding.c b/encoding.c
index eb777c9..f0... -
02:33 AM Feature #11785 (Closed): add `encoding:` optional argument to `String.new`
- I propose to add `encoding:` optional argument to `String.new`.
Ruby doesn't have the syntax to specify the encodi... - 04:48 PM Revision 4466d4ba (git): * string.c (rb_str_init): now accepts new option parameter `encoding'.
- [Feature #11785]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:47 PM Bug #11775: Backport r52892 (fix the argument order of ATOMIC_SIZE_CAS)
- Backported into `ruby_2_2` branch at r52975.
-
02:54 AM Bug #11775: Backport r52892 (fix the argument order of ATOMIC_SIZE_CAS)
- ruby_2_1 r52934 merged revision(s) 52892.
-
04:47 PM Revision 3bec9a87 (git): merge revision(s) 52892: [Backport #11775]
- * ruby_atomic.h (ATOMIC_SIZE_CAS): fix the argument order of
InterlockedCompareExchange64. new value and t... -
04:45 PM Bug #11760: Encoding is tainted unexpectedly by Marshal.load
- Backported into `ruby_2_2` branch at r52974.
-
02:51 AM Bug #11760: Encoding is tainted unexpectedly by Marshal.load
- ruby_2_1 r52933 merged revision(s) 52856,52906.
-
04:44 PM Revision bd4364ac (git): merge revision(s) 52856,52906: [Backport #11760]
- * encoding.c (enc_m_loader): defer finding encoding object not to
be infected by marshal source. [ruby-cor... -
04:26 PM Bug #11733: Compile of ruby 2.2.3 fails on AIX 6.1 TL07 SP03
- Backported into `ruby_2_2` branch at r52973.
-
04:25 PM Revision 4cd4556f (git): merge revision(s) 50423: [Backport #11733]
- * ext/-test-/file/fs.c: need to include sys/statvfs.h
to use statvfs().
* ext/-test-/file/extconf.... -
04:17 PM Revision f679a6b1 (git): envutil.rb: improve message
- * test/lib/envutil.rb (assert_ruby_status): show also outputs at
normal exit.
git-svn-id: svn+ssh://ci.ruby-lang.o... -
03:59 PM Revision 745c63e9 (git): compile.c: suppress warning
- * compile.c (ibf_dump_overwrite): cast to unsigned long to
suppress sign-compare warning.
git-svn-id: svn+ssh://ci... -
03:52 PM Revision 46df9c42 (git): file.c: call get_stat only once
- * file.c (rb_stat_wr, rb_stat_ww): call get_stat only once and
reduce checking struct. patch by Yuki Kurihara in
... -
03:44 PM Feature #11777: Change NameError#local_variables to return the list of local variables where the method is raised
- Yes, this method is only for did_you_mean gem.
-
12:34 PM Feature #11777: Change NameError#local_variables to return the list of local variables where the method is raised
- NEWS does not mention about this feature.
Is it intended? -
05:27 AM Feature #11777 (Closed): Change NameError#local_variables to return the list of local variables where the method is raised
- Applied in changeset r52942.
----------
error.c: name_err_local_variables
* error.c (name_err_local_variables): new... -
03:30 PM Revision ddba2014 (git): * compile.c (iseq_ibf_dump): dump extra data just string length.
- * sample/iseq_loader.rb: add using
RubyVM::InstructionSequence.from_binary_format_extra_data method
(commented ou... -
03:26 PM Revision 278d90a2 (git): compile.c: fix extra_str
- * compile.c (iseq_ibf_load_extra_data): fix offset and
length of extra_str, which is not NUL-terminated.
git-svn-i... - 03:23 PM Revision 3ba62bde (git): gems/bundled_gems: Upgrade the did_you_mean gem to 1.0.0.rc1
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:18 PM Revision 34cfdd2f (git): * compile.c (ibf_load_setup): cast to int.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:14 PM Revision d0d0898c (git): * compile.c (ibf_setup_load): rename to ibf_load_setup().
- * compile.c (iseq_load_setup): check binary format.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52965 b2dd0... -
03:10 PM Bug #11199: IO.copy_stream degrade that can't call pathname to pathname
- Thank you all!
-
03:07 PM Revision bb4d72c5 (git): make local symbols static
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:05 PM Misc #11789 (Closed): [PATCH] Refactor File::Stat#world_readable? and #world_writable?
- I fix to call **get_stat()** only once.
- 03:05 PM Revision bd7e04e4 (git): * 2015-12-09
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:05 PM Revision 0a2b471d (git): fix indent [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:05 PM Revision 122ee7d4 (git): Add ticket numbers [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:50 PM Revision 2c3f0749 (git): free ibf_dump at exception
- * compile.c (iseq_ibf_dump): wrap ibf_dump to free tables at
exception.
git-svn-id: svn+ssh://ci.ruby-lang.org/rub... -
02:49 PM Revision c01f1655 (git): fix typos [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:47 PM Revision 433a5b46 (git): compile.c: make opt a string value
- * compile.c (iseq_ibf_dump): rb_check_string_type() returns nil if
the object does not have to_str method.
git-svn... -
02:33 PM Revision d573666e (git): * test/io/console/test_io_console.rb (run_pty): Avoid waiting twice
- for a process. Fix Errno::ECHILD in TestIO_Console#test_close and
TestIO_Console#test_sync.
git-svn-id: svn+ssh:/... -
02:33 PM Revision 6ee61d4b (git): check loading object index range
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:12 PM Revision 6a105387 (git): suppress warnings
- * compile.c (iseq_ibf_dump): check lenght overflow.
* vm_core.h (rb_iseq_check): suppress unused-value warnings.
gi... -
02:06 PM Revision b8574cdc (git): * compile.c (iseq_ibf_dump): fix for clang type checker.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:05 PM Revision 23124ffb (git): * iseq.c (iseq_s_load): fix mysterious bug.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:03 PM Revision 99c89fa5 (git): fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:59 PM Revision d0f29abb (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:59 PM Revision c49cb7fe (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:59 PM Feature #11788 (Closed): New ISeq serialize binary format
- Applied in changeset r52949.
----------
* introduce new ISeq binary format serializer/de-serializer
and a pre-comp... -
12:55 PM Feature #11788: New ISeq serialize binary format
- Good question. I never take notice about that.
Try resolv.rb with use to_a/load_iseq.
```
use... -
11:48 AM Feature #11788: New ISeq serialize binary format
- [email protected] wrote:
> * RubyVM::InstructionSequence#to_binary_format returns binary format data as String object.
... -
10:56 AM Feature #11788 (Closed): New ISeq serialize binary format
- # Abstract
I wrote a new RubyVM::InstructionSequence (ISeq) object serializer and de-serializer binary format.
Ma... -
01:58 PM Revision 3dbb3901 (git): * introduce new ISeq binary format serializer/de-serializer
- and a pre-compilation/runtime loader sample.
[Feature #11788]
* iseq.c: add new methods:
* RubyVM::InstructionSe... -
01:26 PM Revision 8f620b9b (git): retry IO#getpass
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:20 PM Bug #10398: Server Name Indication support broken when reusing a (dead) session
- #11401 solves this issue.
-
12:31 PM Revision dc331ca5 (git): mention about Enumerator::Lazy#grep_v in NEWS
- * NEWS: mention about Enumerator::Lazy#grep_v.
[ruby-core:71845] [Feature #11773]
git-svn-id: svn+ssh://ci.ruby-la... -
12:20 PM Revision 5f7d6c0c (git): Revert r52907 "* configure.in: add missing x."
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:25 AM Misc #11783: Do you have any idea if you have a budgets?
- Martin Dürst wrote:
> > I should note that mswin CI will be given up just after Ruby 2.3 release because I can never... -
06:15 AM Misc #11783: Do you have any idea if you have a budgets?
- Usaku NAKAMURA wrote:
> I should note that mswin CI will be given up just after Ruby 2.3 release because I can nev... -
10:54 AM Revision 958e153c (git): Revert r52902,r52903,r52910,r52911,r52937,r52939
- Reject IO::Console#getpass because it can't test portablly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52945 ... -
08:36 AM Revision d9c6135c (git): string.c: removed unused variable
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:28 AM Feature #11786: [PATCH] micro-optimize case dispatch even harder
- SASADA Koichi <[email protected]> wrote:
> On 2015/12/08 13:53, Eric Wong wrote:
> >> > how to mark literal objects?
... -
05:48 AM Feature #11786: [PATCH] micro-optimize case dispatch even harder
- On 2015/12/08 13:53, Eric Wong wrote:
>> > how to mark literal objects?
> Take ideas from nobu (r52708 :)
I mea... -
05:18 AM Feature #11786: [PATCH] micro-optimize case dispatch even harder
- Full v2 patch including leak fix with wrapper object:
http://80x24.org/spew/20151208050811.6803-1-e%4080x24.org/t... -
04:58 AM Feature #11786: [PATCH] micro-optimize case dispatch even harder
- SASADA Koichi <[email protected]> wrote:
> On 2015/12/08 12:43, Eric Wong wrote:
> > Oops, I forgot to free the table ... -
03:58 AM Feature #11786: [PATCH] micro-optimize case dispatch even harder
- On 2015/12/08 12:43, Eric Wong wrote:
> Oops, I forgot to free the table when iseq is destroyed :x
> Update coming... -
03:48 AM Feature #11786: [PATCH] micro-optimize case dispatch even harder
- Oops, I forgot to free the table when iseq is destroyed :x
Update coming... -
03:36 AM Feature #11786 (Open): [PATCH] micro-optimize case dispatch even harder
- I noticed these optimizations while working on r52931.
By using a bare hash table, we avoid the overhead of rb_has... -
07:31 AM Bug #11787: rb_inspect() should check Encoding.default_internal instead of Encoding.default_external
- Shugo Maeda wrote:
> Encoding.default_internal should be check instead.
I've attached a patch.
-
07:24 AM Bug #11787 (Closed): rb_inspect() should check Encoding.default_internal instead of Encoding.default_external
- rb_inspect() checks Encoding.default_external even if Encoding.default_internal is specified.
```
$ cat t.rb
put... -
07:24 AM Feature #11773 (Closed): Enumerator::Lazy#grep_v
- Applied in changeset r52943.
----------
enumerator.c: lazy_grep_v
* enumerator.c (lazy_grep_v): add Enumerator::Laz... -
07:23 AM Revision 7d0b7fb4 (git): enumerator.c: lazy_grep_v
- * enumerator.c (lazy_grep_v): add Enumerator::Lazy#grep_v as well
as Enumerable, to enumerate lazily.
[ruby-core:... -
06:41 AM Bug #11718: Constant access on `nil`
- @Koichi: good that you classify it, for a moment i thought that might be an feature ;P
-
05:27 AM Revision 506b25aa (git): error.c: name_err_local_variables
- * error.c (name_err_local_variables): new method
NameError#local_variables for internal use only.
[Feature #11777... - 05:21 AM Revision cb3b463a (git): * array.c: Improve and fix documentation for Array#dig
- [#11776]
* hash.c: ditto
* struct.c: ditto
* test_hash.rb: Add basic test for user defined `dig`.
git-svn-id: svn... -
05:20 AM Revision 1fadd438 (git): marshal.c: skip internal names
- * marshal.c (w_objivar): skip internal instance variables in
T_OBJECT too.
git-svn-id: svn+ssh://ci.ruby-lang.org/... -
05:12 AM Revision 95184065 (git): test_io_console.rb: separate master and slave
- * test/io/console/test_io_console.rb (test_getpass): separate
master side and slave side in each threads. r52937 d... - 04:32 AM Revision f2a7ca74 (git): compile.c (iseq_build_from_ary_body): avoid rb_ary_dup for CDHASH
- This reverts r16587
("compile.c (iseq_build_body): remove side effect from
VM::InstructionSequence.load."
as that c... -
04:04 AM Bug #11780 (Closed): TestIO_Console#test_getpass failed on Solaris
- Applied in changeset r52937.
----------
* test/io/console/test_io_console.rb (test_getpass): s.getpass
should be t... -
04:03 AM Revision 14c46e5f (git): * test/io/console/test_io_console.rb (test_getpass): s.getpass
- should be tested. Narrow ensure block. This reverts r52911.
[Bug #11780] [ruby-dev:49412]
git-svn-id: svn+ssh://c... -
04:03 AM Bug #11762: Array#dig can raise TypeError: no implicit conversion of Symbol/String into Integer
- Here is my suggested documentation on how `Hash#dig` should behave as part of a general `dig` protocol. The patch in...
-
03:09 AM Bug #11762: Array#dig can raise TypeError: no implicit conversion of Symbol/String into Integer
- The current doc also gives examples that should return raise an error, if I understand correctly:
a = [[1, [2,... -
01:35 AM Bug #11762: Array#dig can raise TypeError: no implicit conversion of Symbol/String into Integer
- > I'd guess, like Colin, that returning nil is probably the best. Makes debugging harder when writing new code, but m...
-
01:33 AM Bug #11762 (Open): Array#dig can raise TypeError: no implicit conversion of Symbol/String into Integer
- Reopening, since \the following should raise an error:
{a: 'hello'}.dig(:a, :b) # => nil, should raise an Erro... -
03:43 AM Feature #9098: Indent heredoc against the left margin by default when "indented closing identifier" is turned on.
- This change actually introduces a syntactic incompatibility. Is this okay? I have not seen any real-life use-case t...
-
12:10 AM Feature #9098: Indent heredoc against the left margin by default when "indented closing identifier" is turned on.
- Hey, nobu, write NEWS!!
- 03:20 AM Revision be801955 (git): * tool/merger.rb: get user's attention by using colored message when requiring operation.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:11 AM Bug #8543: new rb_iseq_load crash
- 2.0/2.1 use different code about r51816.
So they don't have this problem, I think. -
03:08 AM Revision 10952d16 (git): NEWS: indented heredoc [ci skip]
- * NEWS: mention about indented here document. [Feature #9098]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@529... - 02:54 AM Revision 682e86be (git): merge revision(s) 52892: [Backport #11775]
- * ruby_atomic.h (ATOMIC_SIZE_CAS): fix the argument order of
InterlockedCompareExchange64. new value and t... - 02:51 AM Revision f0680bde (git): merge revision(s) 52856,52906: [Backport #11760]
- * encoding.c (enc_m_loader): defer finding encoding object not to
be infected by marshal source. [ruby-cor... - 01:47 AM Revision 45a6f637 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:47 AM Feature #11769 (Closed): optimize case / when for `nil`
- Applied in changeset r52931.
----------
compile optimized case dispatch for nil/true/false
nil/true/false are speci... -
12:28 AM Feature #11769: optimize case / when for `nil`
- Eric Wong <[email protected]> wrote:
> Cool. Might be worth it to do the same for `true` and `false`,
> too, ... - 01:46 AM Revision 4ebab10b (git): compile optimized case dispatch for nil/true/false
- nil/true/false are special literals just like floats, integers,
literal strings, and symbols. Optimize when statemen... -
01:19 AM Revision c84e62cd (git): optparse.rb: Fix typo [ci skip]
- * lib/optparse.rb: fix double word typo in the document.
[Misc #10608] [Fix GH-1126]
git-svn-id: svn+ssh://ci.ruby... -
12:03 AM Revision 08753137 (git): date_core.c: missing argument check
- * ext/date/date_core.c (d_lite_lshift): should check the argument
before negation.
git-svn-id: svn+ssh://ci.ruby-l...
12/07/2015
-
11:57 PM Bug #11784 (Closed): [PATCH] insns.def (opt_case_dispatch): check Float#=== redefinition
- Applied in changeset r52928.
----------
insns.def (opt_case_dispatch): check Float#=== redefinition
The missing che... -
11:54 PM Bug #11784 (Closed): [PATCH] insns.def (opt_case_dispatch): check Float#=== redefinition
- insns.def (opt_case_dispatch): check Float#=== redefinition
The missing check for Float#=== redefinition was notic... - 11:56 PM Revision 4d2ce0cb (git): insns.def (opt_case_dispatch): check Float#=== redefinition
- The missing check for Float#=== redefinition was noticed while
working on enhancing optimized case dispatch for nil/t... -
09:18 PM Bug #11733: Compile of ruby 2.2.3 fails on AIX 6.1 TL07 SP03
- r50423 will be soon back-ported to the 2.2 branch.
In the meantime, I believe you can avoid the compile error by t... -
05:08 PM Bug #11733 (Closed): Compile of ruby 2.2.3 fails on AIX 6.1 TL07 SP03
- 07:01 PM Revision d0ea0389 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:01 PM Revision 7476be4d (git): * test/lib/iseq_loader_checker.rb: add iseq dumper/loader checker.
- If you enable this checker (remove `#' in test/runner.rb),
you can see comparison results between an original iseq ... - 06:49 PM Revision b401937c (git): doc/extension.rdoc: warn about kwargs performance in C [ci skip]
- This existing API seems doomed performance-wise, and writing
things in Ruby is nicer anyways. So discourage folks fr... -
06:46 PM Revision 8dce6b15 (git): * iseq.c (iseq_load): disable peephole optimization option
- because apply it multiple times change the sequence.
(iseq != peephole_optimize(load(iseq.to_a)))
git-svn-id: s... -
06:44 PM Revision 21366b17 (git): * compile.c (rb_iseq_build_from_ary): do not allocate table
- if table_size is 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 06:39 PM Revision 889f5022 (git): socket: expand docs+tests for recv_io/send_io
- * ext/socket/unixsocket.c (unix_send_io): document args
(unix_recv_io): ditto
* test/socket/test_unix.rb (test_fd_p... -
05:43 PM Bug #11779: Module#using does not make sense as a method
- Yukihiro Matsumoto wrote:
> Providing a feature by a method does not imply dynamic scoping, for example, Module#priv... -
05:21 PM Bug #11779: Module#using does not make sense as a method
- Yukihiro Matsumoto wrote:
> Providing a feature by a method does not imply dynamic scoping, for example, Module#priv... -
05:00 PM Bug #11779: Module#using does not make sense as a method
- Providing a feature by a method does not imply dynamic scoping, for example, Module#private etc. work in lexical scop...
-
04:09 PM Bug #11779: Module#using does not make sense as a method
- Yukihiro Matsumoto wrote:
> Can elaborate what do you want if `using` should not be a method.
> Considering a new k... -
06:52 AM Bug #11779 (Feedback): Module#using does not make sense as a method
- Can elaborate what do you want if `using` should not be a method.
Considering a new keyword would break existing cod... -
05:23 PM Revision 6757d13e (git): * iseq.c (iseq_translate): at the end of constructing an iseq,
- call RubyVM::InstructionSequence.translate(iseq) if this method
is defined. If the return value is also an object o... -
05:03 PM Bug #11771: unable to pass keyargs to []=
- I don't say anything about 3.0 for now.
But things are more complicated than you imagine.
Matz.
-
04:02 PM Bug #11771: unable to pass keyargs to []=
- Yukihiro Matsumoto wrote:
> Pending, for several reasons:
>
> (1) compatibility. `a[a,foo:1]=v` is valid code. ch... -
07:03 AM Bug #11771 (Closed): unable to pass keyargs to []=
- Pending, for several reasons:
(1) compatibility. `a[a,foo:1]=v` is valid code. changing behavior may crash existin... -
04:58 PM Revision a34e45fd (git): * ext/psych/*: update psych to 2.0.16
- * test/psych/*: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:30 PM Revision 56367e25 (git): add a NEWS entry for r52917
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:59 PM Bug #11759: URI breaks with frozen strings
- > I prefer String.new() to "".dup because the former describes intention (of creating a buffer).
Ok. I've attached... -
07:19 AM Bug #11759: URI breaks with frozen strings
- I prefer `String.new()` to `"".dup` because the former describes intention (of creating a buffer).
In fact, my best ... -
03:19 PM Feature #11782: String#+@ and String#-@
- The purpose of this proposal is to encourage frozen string literals and provide better way than `"foo".dup`. So that ...
-
03:14 PM Feature #11782 (Assigned): String#+@ and String#-@
- Endo-san pointed out that `+foo.upcase!` is evaluated as `+(foo.upcase!)`.
It can be problem. But any practical exam... -
03:10 PM Feature #11782 (Closed): String#+@ and String#-@
- Applied in changeset r52917.
----------
* string.c: introduce String#+@ and String#-@ to control
String mutability... -
02:05 PM Feature #11782: String#+@ and String#-@
- +1
--
Yusuke Endoh <[email protected]> -
12:58 PM Feature #11782: String#+@ and String#-@
- It's OK if we don't have strong objection.
Matz.
-
10:13 AM Feature #11782 (Closed): String#+@ and String#-@
- Matz said
> In fact, my best choice is introducing `String#+` that returns a mutable copy of a string.
[ruby-cor... -
03:19 PM Feature #9098: Indent heredoc against the left margin by default when "indented closing identifier" is turned on.
- Ah, for some reason I was under the impression that the plan was to use the indentation from the first non-blank line...
-
02:40 PM Feature #9098 (Closed): Indent heredoc against the left margin by default when "indented closing identifier" is turned on.
- Applied in changeset r52916.
----------
parse.y: indented hereoc
* parse.y: add heredoc <<~ syntax. [Feature #9098] -
06:45 AM Feature #9098: Indent heredoc against the left margin by default when "indented closing identifier" is turned on.
- Alternative 2 looks good to me.
Matz.
- 03:10 PM Revision 59c3a2f8 (git): * 2015-12-08
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:10 PM Revision 6d8bf54c (git): * string.c: introduce String#+@ and String#-@ to control
- String mutability.
[Feature #11782]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52917 b2dd03c8-39d4-4d8f-... -
02:39 PM Revision 9a28a29b (git): parse.y: indented hereoc
- * parse.y: add heredoc <<~ syntax. [Feature #9098]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52916 b2dd03c8... -
02:19 PM Feature #11735: Porting String#squish and String#squish! from Ruby on Rails' Active Support
- nobu's patch seems to be the better way to implement this feature without having to use regular expression. Much more...
-
07:51 AM Feature #11735: Porting String#squish and String#squish! from Ruby on Rails' Active Support
- https://github.com/ruby/ruby/compare/trunk...nobu:feature/11735-squish
-
02:14 PM Revision 9f51e95f (git): fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:08 PM Bug #11730 (Closed): read_nonblock's call-seq missing options
- Applied in changeset r52914.
----------
add missing options to call-seq of IO#read_nonblock
* prelude.rb (IO#read_n... -
02:08 PM Revision f373be86 (git): add missing options to call-seq of IO#read_nonblock
- * prelude.rb (IO#read_nonblock): [DOC] add missing options to
call-seq. [ruby-core:71627] [Bug #11730]
git-svn-id... -
11:47 AM Misc #11783: Do you have any idea if you have a budgets?
- Koichi Sasada wrote:
> > nurse: VPS severs for CI are welcome. Especially for Azure.
I should note that mswin CI ... -
10:29 AM Misc #11783 (Closed): Do you have any idea if you have a budgets?
- Do you have any idea about Ruby interpreter implementation to do with budgets?
# Background
Now, we are summari... -
11:22 AM Feature #11737: Pass in expression to then block in `case expression`
- Thank you. I appreciate your consideration.
-
07:41 AM Feature #11737 (Rejected): Pass in expression to then block in `case expression`
- It's not worth adding special expression or variable for retrieving the when value.
Just use assignment.
Matz.
-
11:13 AM Feature #11781: Would it be possible to alias .prepend() towards .unshift() for class Array by default?
- `prepend` is already a keyword in the Ruby language for prepending a module in the ancestry chain: http://ruby-doc.or...
-
10:12 AM Feature #11781 (Open): Would it be possible to alias .prepend() towards .unshift() for class Array by default?
- Hello.
For Strings we can do:
abc = 'world!'
abc[0,0] = 'Hello '
abc # => "Hello world!"
For A... -
10:54 AM Bug #11742: lib/webrick/utils.rb:196:in `register': ERROR RuntimeError: can't add a new key into hash during iteration
- yuzo san が担当者一覧に見つかんなかったので、nahi さんにとりあえず振っておきます。
すみませんが、適切な方に delegate して頂けると。 -
10:51 AM Bug #11718: Constant access on `nil`
- * This is a bug, so that anyone should not rely on this behavior.
* This is a bug, so that this bug should be fixed
... -
09:15 AM Bug #11780 (Closed): TestIO_Console#test_getpass failed on Solaris
- Solaris 10 にて、TestIO_Console#test_getpass が以下のエラーで失敗します。
~~~
1) Error:
TestIO_Console#test_getpass:
Errno::EI... -
08:52 AM Misc #11770: [PATCH] $KCODEへの代入時にwarningが発生することのテストを追加
- ありがとうございます:)
-
07:26 AM Misc #11770: [PATCH] $KCODEへの代入時にwarningが発生することのテストを追加
- OK.
Matz.
-
07:24 AM Misc #11770: [PATCH] $KCODEへの代入時にwarningが発生することのテストを追加
- ご自分でコミットなさるのがよいのではないでしょうか。
よいですよね>matz
redmineのruby-coreグループには追加したので、その他の手続きお願いします>しばたさん
-
07:52 AM Feature #11734 (Closed): Improved ternary operator
-
07:43 AM Bug #11736: Float(arg) not consistent with documentation
- Document is wrong.
Zack, could you fix it? -
07:33 AM Bug #11740: ObjectSpace.each_object exposes internal metaclasses
- I'll fix it.
-
07:29 AM Feature #11747 (Rejected): "bury" feature, similar to 'dig' but opposite
- It's not clear to generate either Hash, Array, or Struct (or whatever) to bury a value.
So it's better to reject now... -
07:28 AM Bug #11743 (Closed): r52758 以降 config.guess がダウンロードできない
-
07:23 AM Feature #11758: Add keyword assignment syntax
- discuss for 2.4 and later
-
07:08 AM Feature #11761 (Rejected): `Hash#default_set` and `Hash#default_proc_set`
- Use `tap`. Methods with side-effect should be handled with care. Making it chainable has little benefit.
Matz.
-
07:06 AM Bug #11762 (Rejected): Array#dig can raise TypeError: no implicit conversion of Symbol/String into Integer
- I believe `dig` should only ignore nil receiver as its description.
Hiding argument/type error is not a good idea, I... -
07:03 AM Bug #11765 (Third Party's Issue): Trouble using fiddle to call Fortran from C
-
06:53 AM Bug #11776: dig and custom objects
- Confirmed. ;-)
Matz.
-
06:50 AM Revision e924e657 (git): .gitignore: added cygwin*.def for Cygwin
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:49 AM Misc #11757 (Closed): test_string.rbから不要なコードを削除する
-
05:26 AM Feature #11777: Change NameError#local_variables to return the list of local variables where the method is raised
- It's OK to add. But I think we should mark it as 'internal use' in the reference.
Matz.
-
05:16 AM Feature #11773: Enumerator::Lazy#grep_v
- Agreed. the patch LGTM.
Matz. - 03:12 AM Revision 52439760 (git): * 2015-12-07
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:11 AM Revision b5c0ca49 (git): temporally remove prompt to pass the test
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Also available in: Atom