Activity
From 03/25/2014 to 03/31/2014
03/31/2014
-
10:39 PM Revision f265ce70 (git): * addr2line.c (fill_lines): use dynsym, which is used for dynamic
- linking and always exists, if there's no symtab.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 10:34 PM Revision e1952036 (git): * 2014-04-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:34 PM Revision 6ba2c24c (git): * vm_dump.c (rb_print_backtrace): current implementation
- uses dladdr to get the path of objects.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:58 PM Bug #9660: test/unit, minitest & bundler
- normalperson@yhbt.net wrote:
> e@zzak.io wrote:
> > I like the name ruby-unit, in this case we should also consider
> > changing the namespaces to match (ie: RubyUnit)
>
> Might as well use Minitest:: at that point, right?
... -
05:58 PM Bug #9660: test/unit, minitest & bundler
- e@zzak.io wrote:
> I like the name ruby-unit, in this case we should also consider
> changing the namespaces to match (ie: RubyUnit)
Might as well use Minitest:: at that point, right? -
08:21 AM Bug #9660: test/unit, minitest & bundler
- I like the name ruby-unit, in this case we should also consider changing the namespaces to match (ie: RubyUnit)
-
07:49 AM Bug #9660: test/unit, minitest & bundler
- I think bundled test-unit should be rename like rbunit or ruby-unit. many of users is confused by bundled test-unit and test-unit gem.
If we can't merge their, it should be renamed. -
02:58 PM Bug #9578: ‘Function’ undeclared in readline.c
- Takahiro Kambe wrote:
> Who are you asking to commit? (BTW, I am not a commiter.)
Really!?
-
02:57 PM Bug #9578 (Closed): ‘Function’ undeclared in readline.c
- Applied in changeset r45488.
----------
`readline/extconf.rb`: fix typo
* `ext/readline/extconf.rb`: fix typo, `$defs` not `$DEFS`.
[ruby-core:61756] [Bug #9578] -
03:44 AM Bug #9578: ‘Function’ undeclared in readline.c
- Nobuyoshi Nakada wrote:
> Takahiro Kambe wrote:
> ...
Who are you asking to commit? (BTW, I am not a committer.)
-
02:57 PM Revision 66481367 (git): readline/extconf.rb: fix typo
- * ext/readline/extconf.rb: fix typo, `$defs` not `$DEFS`.
[ruby-core:61756] [Bug #9578]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:38 PM Revision 6b9b8531 (git): variable.c, vm_method.c: pin down
- * variable.c (rb_alias_variable): ensure pinned down.
* vm_method.c (rb_method_entry_make): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:17 PM Bug #9657: Segfault in bigdecimal/util.rb Float#to_d
- Same thing as Dieter - intermittent fault at util.rb:39, haven't been able manually reproduce yet but it's happening regularly in production ( every few days )
/usr/local/rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/bigdecimal/util.rb:39: [BU... -
02:10 PM Bug #9321: rb_mod_const_missing does not generate a c-return event
- no no I was missing something.... :( I thought this bug fix was included in 2.1 but it's not. Last master works fine. I'm sorry for the confusion. And thanks a lot for having a look so quick!
Can I ask for this to be backported to 2.0... -
09:31 AM Bug #9321: rb_mod_const_missing does not generate a c-return event
- I check with test/unit (modified as follow) and I got no error. Do I miss anything?
```ruby
require 'test/unit'
class TestTracePoint < Test::Unit::TestCase
def test_method_missing
events = []
assert !respond_to?(:miss... -
10:55 AM Bug #9681 (Feedback): miniruby Bus Error at 0x3d44c4
- It might be due to GCC bug, because GCC 4.5.2 is too old. Could you please try latest GCC?
- 08:24 AM Revision bf905503 (git): * test/ruby/memory_status.rb: require envutil before accessing EnvUtil
- module. reported by ko1 via twitter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:39 AM Bug #9592: Fix segfault with old OpenSSL
- backported into ruby_1_9_3 at r45485. (see #9672)
- 06:38 AM Revision f150dbba (git): merge revision(s) 45271: [Backport #9672]
- * ext/openssl/ossl.c (ossl_make_error): check NULL for unknown
error reasons with old OpenSSL, and insert a colon iff formatted
message is not empty.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@4... -
02:48 AM Revision 97cef275 (git): fix typos
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:34 AM Revision d14458fb (git): signal.c: preserve encoding
- * signal.c (esignal_init): preserve encoding in error messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:34 AM Revision 03f0ca4c (git): vm.c: avoid inadvertent pin-down
- * vm.c (vm_stat): get rid of inadvertent dynamic symbol pin-down,
and preserve encoding in error messages. also should not use
RSTRING_PTR macro on function calls.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45482 b2dd03c8-39... - 01:34 AM Revision 8125399c (git): st.c (st_init_table_with_size): update comment
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:14 AM Bug #8182: XMLRPC request fails with "Wrong size. Was 31564, should be 1501"
- As I wrote, the check is useless. It should be removed.
03/30/2014
-
10:38 PM Bug #9321 (Open): rb_mod_const_missing does not generate a c-return event
-
04:32 PM Bug #9321: rb_mod_const_missing does not generate a c-return event
- Hi @koichi, I'm still running into this issue... :( I really don't know what's going on, because the tests pass in ruby's test suite, but the `c_return` event is not generated when I use the TracePoint API.
require 'minitest/autor... -
10:26 PM Bug #9578: ‘Function’ undeclared in readline.c
- Takahiro Kambe wrote:
> But it should be `$defs` instead of `$DEFS`?
Exactly. Please commit it.
-
01:22 PM Bug #9578 (Assigned): ‘Function’ undeclared in readline.c
-
12:30 AM Bug #9578: ‘Function’ undeclared in readline.c
- r45240 added these lines to extconf.rb:
> ~~~ruby
> ...
But it should be $defs instead of $DEFS? -
09:55 PM Revision a9237467 (git): gc.c: avoid inadvertent pin-down
- * gc.c (gc_info_decode): get rid of inadvertent dynamic symbol
pin-down, and preserve encoding in error messages. also should
not use RSTRING_PTR macro on function calls.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45480 b2dd... - 09:00 PM Revision 1cd98eb9 (git): * 2014-03-31
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:00 PM Revision c0dee604 (git): process.c: preserve encodings
- * process.c (rlimit_resource_type, rlimit_resource_value):
preserve argument encoding in error messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:00 PM Revision 956745ee (git): test_process.rb: test if success?
- * test/ruby/test_process.rb (test_rlimit_value): should not use
magic number 0, which may not be EXIT_SUCCESS. use `success?`
instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:01 PM Bug #8405: CSV module - improper regexp for escaping special characters
- r45374 was backported to ruby_2_0_0 at r45476.
-
04:01 PM Revision 5d53e5b7 (git): merge revision(s) r45374: [Backport #8405]
- * lib/csv.rb: Fixed a broken regular expression that was causing
CSV to miss escaping some special meaning characters when used
in parsing.
Reported by David Unric
[ruby-core:54986] [Bug #8405]
g... -
03:52 PM Revision fe736ccf (git): * test/ruby/envutil.rb (assert_no_memory_leak): increase default value
- of `limit` keyword argument.
assert_no_memory_leak occasionally fails with limit=1.5.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@45475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:46 PM Bug #9651: __dir__ returns nil in instance_eval/module_eval
- r42230 and r42231 were backported to ruby_2_0_0 at r45473. These changesets were required for resolv conflict.
And r45360 and r45361 were backported to ruby_2_0_0 at r45474. -
03:43 PM Revision d0be5c2d (git): merge revision(s) r45360,r45361: [Backport #9651]
- * vm_eval.c (eval_string_with_cref): Use file path even if scope is
given. Related to [ruby-core:56099] [Bug #8662] and r42103.
* vm_eval.c (eval_string_with_cref): Unify to use NIL_P.
git-svn-id: svn+ssh://ci.ruby-l... -
03:06 PM Revision 3041f215 (git): merge revision(s) r42230,r42231: [Backport #9651]
- parse.y, vm_eval.c: file encoding in eval
* parse.y (yycompile): store file name as String to keep the encoding.
* parse.y (rb_parser_compile_string_path, rb_parser_compile_file_path):
new functions to pass file name ... -
02:53 PM Bug #9592: Fix segfault with old OpenSSL
- r45271 was backported to `ruby_2_0_0` at r45472.
コミット連動で閉じてしまいましたが、trunk では修正済みなので Closed にした上で Backport 欄を使うということでそのままにしておきます。 -
02:50 PM Bug #9592 (Closed): Fix segfault with old OpenSSL
- Applied in changeset ruby-200:r45472.
----------
merge revision(s) r45271: [Backport #9592] [Backport #9670]
* ext/openssl/ossl.c (ossl_make_error): check NULL for unknown
error reasons with old OpenSSL, and insert a colon iff form... -
02:50 PM Revision 0cc54369 (git): merge revision(s) r45271: [Backport #9592] [Backport #9670]
- * ext/openssl/ossl.c (ossl_make_error): check NULL for unknown
error reasons with old OpenSSL, and insert a colon iff formatted
message is not empty.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@4... -
02:43 PM Bug #9688 (Closed): Ruby's child process inherits parent's sockets (mswin)
- Applied in changeset r45471.
----------
* win32/win32.c (rb_w32_accept, open_ifs_socket, socketpair_internal):
reset inherit flag of socket to avoid unintentional inheritance of
socket. note that the return value of SetHandleInform... -
02:38 PM Bug #9688: Ruby's child process inherits parent's sockets (mswin)
- Thank you for testing my patch!
- 02:42 PM Revision 38c3ba2f (git): * win32/win32.c (rb_w32_accept, open_ifs_socket, socketpair_internal):
- reset inherit flag of socket to avoid unintentional inheritance of
socket. note that the return value of SetHandleInformation() is not
verified intentionally because old Windows may return an error.
[Bug #9688] [ruby-core:61754]
... -
01:16 PM Bug #9687 (Closed): Make a cap for malloc_limit adjustment
- 08:10 AM Revision 97a3464b (git): * 2014-03-30
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:10 AM Revision e4879afe (git): * parse.y (rb_str_dynamic_intern): [DOC] move rdoc from rb_str_intern.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:38 AM Bug #9608: [PATCH] avoid large alloca on Complex/Rational calls
- tadf: ping?
-
03:28 AM Feature #9632: [PATCH 0/2] speedup IO#close with linked-list from ccan
- Eric Wong <normalperson@yhbt.net> wrote:
> normalperson@yhbt.net wrote:
> > 0001-doubly-linked-list-from-ccan-to-manage-vm-living_thr.patch (68.1 KB)
>
> I'll de-duplicate the CC0 declaration files if allowed to commit this.
> The...
03/29/2014
-
03:16 PM Bug #9688 (Closed): Ruby's child process inherits parent's sockets (mswin)
- When Ruby application creates child process, sockets are inherited from the parent process.
This causes severe troubles.
In my situation, I have some web services using WEBrick and Sinatra. They invoke child process as a batch file usi... -
02:58 PM Feature #9453 (Rejected): Return symbols of defined methods for `attr` and friends
- I am not positive. The example
private *attr_reader(:images, :key_map, :window, :screen_manager,:animations)
is not really intuitive. Besides that, you can define private_attr_reader, etc. by yourself.
In that case, the code w... -
08:10 AM Bug #9518: Objects in large arrays are leaked
- (2014/03/29 15:48), normalperson@yhbt.net wrote:
> I strongly believe there should no magic based on size.
I need to ask tarui-san, who introduce this mechanism.
Tarui-san, could you give me a comment?
--
// SASADA Koichi a... -
06:48 AM Bug #9518: Objects in large arrays are leaked
- ko1: may I commit the removal of special case for large array/hash?
* gc.c (rb_gc_writebarrier): remove special case for large hash/array
http://bogomips.org/ruby.git/patch?id=40849ff1bc881
git://80x24.org/ruby.git gc-nomagic
... -
04:43 AM Bug #9687 (Open): Make a cap for malloc_limit adjustment
-
04:37 AM Bug #9687 (Closed): Make a cap for malloc_limit adjustment
- Applied in changeset r45468.
----------
* gc.c (gc_before_sweep): cap `malloc_limit' to
gc_params.malloc_limit_max. It can grow and grow with such case:
`loop{"a" * (1024 ** 2)}'
[Bug #9687]
This issue is pointed by Tim Rober... -
04:14 AM Bug #9687 (Closed): Make a cap for malloc_limit adjustment
- The blog post [Ruby Garbage Collection: Still Not Ready for Production] (http://www.omniref.com/blog/blog/2014/03/27/ruby-garbage-collection-still-not-ready-for-production/) pointed out that the following code consumes all of memory:
... -
04:37 AM Revision 835186a3 (git): * gc.c (gc_before_sweep): cap `malloc_limit' to
- gc_params.malloc_limit_max. It can grow and grow with such case:
`loop{"a" * (1024 ** 2)}'
[Bug #9687]
This issue is pointed by Tim Robertson.
http://www.omniref.com/blog/blog/2014/03/27/ruby-garbage-collection-still-not-ready... -
04:08 AM Feature #9686: Syntax for symbols used in hashes
- Sorry, `string.to_sym`.
03/28/2014
-
10:58 PM Feature #9686: Syntax for symbols used in hashes
- On Mar 29, 2014 8:52 AM, <nobu@ruby-lang.org> wrote:
>
> You can write simply for that case:
>
> ~~~ruby
> string = 'foo'
> {string => 'bar'}
> ~~~
You'd need
~~~ruby
{string.to_s => 'bar'}
~~~ -
10:52 PM Feature #9686: Syntax for symbols used in hashes
- You can write simply for that case:
~~~ruby
string = 'foo'
{string => 'bar'}
~~~
-
08:22 PM Feature #9686: Syntax for symbols used in hashes
- See #4276
-
07:56 PM Feature #9686 (Open): Syntax for symbols used in hashes
- Symbols are often used literally as keys in hashes like this:
~~~ruby
{foo: 'bar'}
~~~
But acutally there is a little inconvenience when using the alternative `:"name"` literal syntax:
~~~ruby
string = 'foo'
{:"#{string}" =>... - 10:43 PM Revision ec02cc29 (git): * 2014-03-29
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:43 PM Revision 8062cdc6 (git): test_member.rb: fix locale depending test failure
- * test/-ext-/struct/test_member.rb (test_member_get): set
default_external encoding to fix locale depending test failure.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:54 PM Bug #9659: crash in FIPS mode after unchecked algo->init_func failure
- I've just compared the Debian and CentOS OpenSSL sources, and it looks like large parts of the FIPS functionality in OpenSSL that I've taken for granted are provided in CentOS/RHEL-specific patches. So you may not be able to duplicate th...
-
05:11 AM Bug #9659 (Feedback): crash in FIPS mode after unchecked algo->init_func failure
- I can't reproduce that assertion failure, with openssl 0.9.8y and 1.0.1f.
`OPENSSL_FIPS` needs to be defined, perhaps? -
12:29 AM Bug #9659: crash in FIPS mode after unchecked algo->init_func failure
- If any credit is given for finding this problem, it belongs to Joseph Yaworski; see https://tickets.puppetlabs.com/browse/PUP-1840.
-
12:28 AM Bug #9659: crash in FIPS mode after unchecked algo->init_func failure
- Attached are three cumulative patches against source:/trunk@45452.
The first, 001-detect-digest-failure, changes the prototypes of digest initialization and finalization functions in the digest extension to return int instead of void;... -
03:55 PM Feature #9453 (Assigned): Return symbols of defined methods for `attr` and friends
-
12:36 PM Revision 1d223a3b (git): struct.c: avoid pinning down
- * struct.c (rb_struct_set, rb_struct_aref, rb_struct_aset): get
rid of pinning down dynamic symbols by SYM2ID.
* struct.c (rb_struct_aref_sym, rb_struct_aset_sym): use Symbol
instead of ID.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru... -
12:36 PM Revision fd8f3cb9 (git): parse.y: rb_id_attrget
- * parse.y (rb_id_attrget): new function to convert setter ID to
getter ID.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:56 AM Feature #9678: New heredoc syntax
- Some use cases for fun:
system <<:
> ./configure
> make
> make install
eval <<:
> 10.times do
> puts <<:
> > Who is the silly person who wrote this program?
> end -
10:32 AM Revision 4a463622 (git): struct.c: encoding of member name
- * struct.c (not_a_member): preserve encoding of member name in
error messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:32 AM Bug #9684 (Closed): Use same error messages in struct.c
- Applied in changeset r45462.
----------
struct.c: not_a_member message
* struct.c (not_a_member): extract name error and use same error
messages. based on the patch by Marcus Stollsteimer <sto.mar AT
web.de> at [ruby-core:61721]. ... -
06:02 AM Bug #9684 (Feedback): Use same error messages in struct.c
- Do you have code to raise those exceptions?
-
10:32 AM Revision afb4bcbf (git): struct.c: not_a_member message
- * struct.c (not_a_member): extract name error and use same error
messages. based on the patch by Marcus Stollsteimer <sto.mar AT
web.de> at [ruby-core:61721]. [Bug #9684]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45462 b2d... -
07:58 AM Revision 4a3f08d3 (git): .gdbinit (rp): dump T_SYMBOL
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:28 AM Revision 9d1bf5b3 (git): string.c: infect match result
- * string.c (rb_pat_search): match result should be infected by the
pattern.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:28 AM Revision 2f14bde8 (git): string.c: backref substitution
- * re.c (rb_reg_regsub): allow nil regexp for string matching.
* string.c (rb_str_sub_bang, str_gsub): make substitution if
replacement string has backref escapes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45459 b2dd03c8-39d4-... -
02:27 AM Revision 2d82342c (git): string.c: unset $~ if unmatch
- * string.c (rb_pat_search): unset $~ if the last match failed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:23 AM Revision 209a310c (git): revert r45417
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:17 AM Revision 0795c716 (git): revert r45417
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:28 AM Bug #9685 (Closed): psych-2.0.5 のバックポート
- CVE-2014-2525 の修正を含んだ psych-2.0.5 のバックポートをお願いします。
ref. https://github.com/tenderlove/psych/pull/187
related commits. r45454, r45455 -
12:23 AM Revision 7a01bfcd (git): * ext/psych/psych.gemspec: update gemspec for psych-2.0.5
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:19 AM Revision 7efc09ec (git): * 2014-03-28
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:19 AM Revision e221c6ce (git): * ext/psych/lib/psych.rb: Merge psych-2.0.5. bump version to
- libyaml-0.1.6 for CVE-2014-2525.
* ext/psych/yaml/config.h: ditto.
* ext/psych/yaml/scanner.c: ditto.
* ext/psych/yaml/yaml_private.h: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
03/27/2014
-
10:42 PM Bug #9680 (Closed): String#sub and siblings should not use regex when String pattern is passed
- I missed to include this ticket reference in the commit log.
Inflector seems using other replacements with RE, so this improvement might not be significant much. -
07:03 PM Bug #9680: String#sub and siblings should not use regex when String pattern is passed
- Good point, Benoit! This is actually why I started looking into #gsub in the first place. I benchmarked ActiveSupport::Inflector [1], which does operations like `gsub!('/', '::')` and `gsub('::', '/')`. Here are the benchmarks, before an...
-
04:17 PM Bug #9680: String#sub and siblings should not use regex when String pattern is passed
- It would be interesting to run the benchmark on a more realistic example. One should use String#tr or String#tr! if it is only to replace a single character.
-
02:02 AM Bug #9680: String#sub and siblings should not use regex when String pattern is passed
- I think the speedup in this patch comes almost entirely from skipping the regex engine, not from the GC savings.
Preserving `$&` (and `$~` and friends) while still not firing up the regex engine might be possible (constructing the bas... -
01:28 AM Bug #9680: String#sub and siblings should not use regex when String pattern is passed
- I had an idea to replace the current reg_cache with memoization for
converting string literals, but never got around to it. That would
also reduce garbage while preserving $& compatibility. -
12:09 AM Bug #9680 (Closed): String#sub and siblings should not use regex when String pattern is passed
- Currently `String#sub`, `#sub!`, `#gsub, and `#gsub!` all accept a String pattern, but immediately create a Regexp from it, and use the regex engine to search for the pattern. This is not performant. For example, `"123:456".gsub(":", "_"...
-
08:16 PM Feature #9678: New heredoc syntax
- Yes, it has to be defined immediately, otherwise it would be impossible to reuse the same heredoc "identifier" (`Message:`), and it may conflict with program identifiers.
-
08:13 PM Feature #9678: New heredoc syntax
- Rodrigo Rosenfeld Rosas wrote:
> What should the scope for interpolation be?
I had thought about it, but i did not see a better option than to require the heredoc to be defined immediately after the line where it is used, as usual. -
07:12 PM Feature #9678: New heredoc syntax
- What should the scope for interpolation be?
~~~
def my_method
a = 1
b = <<:message
end
a = 2
message:
>> #{a}
my_method # what is the output?
~~~ -
07:08 PM Feature #9678: New heredoc syntax
- Rodrigo Rosenfeld Rosas wrote:
> Is it possible to start the '>' anywhere besides the first char?
Good point, why not. My motivation was however to be able to write heredocs without indentation in a nice and clear way.
I have jus... -
07:02 PM Feature #9678: New heredoc syntax
- Is it possible to start the '>' anywhere besides the first char?
~~~
def my_method
a = <<Message1:
Message1:
> Some
> content
end
~~~
Or even something anonymous like:
~~~
def my_method
a = <<:
> So... -
01:36 PM Feature #9678: New heredoc syntax
- I try to summarize again, hopefully better, and with a bit different syntax.
### Example
class C
def f(x)
print <<Message1: + <<Message2: + <<Message3:
Message1:
> 1. Some text
> without any in... -
01:42 AM Feature #9678 (Feedback): New heredoc syntax
- Could you summarize your proposal concretely?
-
05:13 PM Feature #9453: Return symbols of defined methods for `attr` and friends
- It's been almost 2 months...any chance we could get a comment on this from the core team?
-
03:30 PM Bug #8358: TestSprintf#test_float test failure
- We've decided to revert the whole sse2 block from configure.in in official Linux Arch ruby package. https://www.archlinux.org/packages/extra/x86_64/ruby/
That change breaks our users who uses 32-bit packages on old hardware that does ... -
02:36 PM Bug #9681: miniruby Bus Error at 0x3d44c4
- Just to give an update.
After many different tries, the solutions for compiling ruby 2.1 is to use Sunstudio rather than gcc.
This has working well.
-
10:06 AM Bug #9681 (Closed): miniruby Bus Error at 0x3d44c4
- Dear team,
I'm trying to compile ruby 2.1.1 on Solaris Oracle Solaris 11.1 SPARC, with gcc version 4.5.2 (GCC).
I wonder that maybe you can help on the issue.
Here is the result of the configure :
It complains for the conftes... -
02:00 PM Bug #9683: Segmentation fault when using default proc feature in ruby Hash object
- In ruby-2.0.0
➜ bruno-v2 rvm:(ruby-2.0.0) git:(master) ✗ ruby -v
ruby 2.0.0p451 (2014-02-24 revision 45167) [x86_64-darwin13.1.0]
➜ bruno-v2 rvm:(ruby-2.0.0) git:(master) ✗ irb
2.0.0-p451 :001 > a = Hash.new {|h,k| h[k] += 1}
=> ... -
01:51 PM Bug #9683 (Closed): Segmentation fault when using default proc feature in ruby Hash object
➜ bruno-v2 rvm:(ruby-2.1.0) git:(master) ✗ uname -a
Darwin erans-mbp.intkontera.com 13.1.0 Darwin Kernel Version 13.1.0: Thu Jan 16 19:40:37 PST 2014; root:xnu-2422.90.20~2/RELEASE_X86_64 x86_64
➜ bruno-v2 rvm:(ruby-2.1.0) git:(mas...-
01:59 PM Bug #9684 (Closed): Use same error messages in struct.c
- In `struct.c`, use the same error message "`foo' is not a struct member" in
- `rb_struct_getmember` (line 97) and
- `rb_struct_set` (lines 157)
-
01:42 PM Bug #9682 (Closed): [Doc] Improve Time.parse documentation (in lib/time)
- Consistently use EST like all other examples in lib/time.
Also tries to clarify the behaviour by adding a comment with the return value of Time.parse in the given example.
See discussion on #9521. -
12:03 PM Revision fb3bd787 (git): string.c: suppress warnings
- * string.c (rb_str_sub_bang, str_gsub): initialize conditionally
assigned variables to suppress maybe-uninitialized warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:58 AM Revision 5752b61d (git): string.c: search by rb_str_index
- * re.c (match_regexp): set regexp for MatchData from string.
* re.c (rb_backref_set_string): create MatchData from string and
set backref.
* string.c (rb_pat_search, rb_str_sub, rb_str_sub_bang, str_gsub),
(scan_once, rb_str_scan, rb... -
09:47 AM Revision 227a5a2a (git): string.c: mustnot_broken
- * string.c (mustnot_broken): extract function to reject invalid
byte sequence, from rb_str_split_m().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:08 AM Revision ffdb3ce9 (git): re.c: class name encoding
- * re.c (match_inspect): preserve class name encoding by PRIsVALUE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:08 AM Revision 2dc8f669 (git): test_m17n_comb.rb: refine assertions
- * test/ruby/test_m17n_comb.rb (test_str_scan): refine assertion
messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:42 AM Revision 7c9f1aa3 (git): [DOC] Fix NEWS about Symbol GC
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:18 AM Bug #9606: Ocassional SIGSEGV inTestException#test_machine_stackoverflow on OpenBSD
- kosaki: any ideas for the lack of guard page for the main thread?
I have one idea, but I hate it: run timer thread function in the main
thread and have all normal Ruby code in pthread_create-ed threads.
However, long term, I will... -
03:48 AM Bug #9606: Ocassional SIGSEGV inTestException#test_machine_stackoverflow on OpenBSD
- Increasing guard page size doesn't not fit for x86 32bit, at least. They have no enough room.
I see no regression if changes 64bit only.
-
03:03 AM Revision 949f1160 (git): string.c: invert flag
- * string.c (str_gsub): invert and rename `str_replace` flag as
`need_backref`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:01 AM Revision acc3cf5f (git): * addr2line.c (fill_lines): check shdr[i].sh_type because even if
- .symtab section exists, the section's type can be SHT_NOBITS and
actual data doesn't exist in the file. [Bug #9654]
revert r45441.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:58 AM Revision 6c27d383 (git): re.c: indent
- * re.c (rb_reg_search): adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:58 AM Revision d94dcf1e (git): parse.y: type-punning cast
- * parse.y (rb_gc_free_dsymbol): use intermediate st_data_t and get
rid of type-punning cast.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
03/26/2014
-
11:27 PM Bug #8508: Invalid byte sequence in UTF-8 (ArgumentError) in win32/registry.rb
- Add backport request
-
10:48 PM Bug #9606: Ocassional SIGSEGV inTestException#test_machine_stackoverflow on OpenBSD
- Eric Wong <normalperson@yhbt.net> wrote:
> normalperson@yhbt.net wrote:
> > I propose the following to test inside threads:
> > http://bogomips.org/ruby.git/patch?id=a2c08435f4346
>
> Bah, that fails on my 32-bit Debian 7.0 VM; ... -
07:48 AM Bug #9606: Ocassional SIGSEGV inTestException#test_machine_stackoverflow on OpenBSD
- normalperson@yhbt.net wrote:
> I propose the following to test inside threads:
> http://bogomips.org/ruby.git/patch?id=a2c08435f4346
Bah, that fails on my 32-bit Debian 7.0 VM; I only tried
64-bit before. I will investigate tom... -
03:59 AM Bug #9606: Ocassional SIGSEGV inTestException#test_machine_stackoverflow on OpenBSD
- I found no problems.
Let's try it. -
02:38 AM Bug #9606: Ocassional SIGSEGV inTestException#test_machine_stackoverflow on OpenBSD
- v.ondruch@tiscali.cz wrote:
> It fails on x86 as well - #9198
It seems the common problem is the main thread stack has no guard page
(at least not on my GNU/Linux systems).
I propose the following to test inside threads:
http:/... - 09:46 PM Revision b1cd933e (git): * 2014-03-27
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:46 PM Revision c6aa2c46 (git): temporally change for powerpc64-linux fc18
- fc18 powerpc64's libc6-dbg has symtab/strtab but it can't be
referenced. therefore add workaround not to see them.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:28 PM Bug #9657: Segfault in bigdecimal/util.rb Float#to_d
- Same thing...
~~~
2.1.0/lib/ruby/2.1.0/bigdecimal/util.rb:18: [BUG] Segmentation fault at 0x00000030d99000
ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-linux]
-- Control frame information -------------------------------------... -
03:58 PM Bug #9679 (Third Party's Issue): /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.2/lib/chef/util/diff.rb:129: [BUG] Segmentation fault
- Hi
Not sure if it's a Chef or Ruby issue, I just thought I would follow the last lines of the output and report the bug here.
Some info on the system
~~~
$ uname -a
Linux xxx 3.2.0-37-generic #58-Ubuntu SMP Thu Jan 24 15:28:10 U... -
02:19 PM Revision e6dcb3b1 (git): [DOC] Add NEWS about Symbol GC
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:52 PM Feature #9678: New heredoc syntax
- IMO, this would allow a program with heredocs to be easily readable without having to indent heredocs. Especially if editor's syntax highlighting will highlight `>` and `>>`.
-
01:47 PM Feature #9678: New heredoc syntax
- Sorry, of course:
f(42)
i would expect to output
Literal text
------------
Here text.
Text with interpolation and escapes
-----------------------------------
Here text with interpolation: 42.... -
01:40 PM Feature #9678: New heredoc syntax
- And the expected output?
-
01:27 PM Feature #9678 (Feedback): New heredoc syntax
- For whatever it is worth, i've just had this idea of a new heredoc syntax for some programming language:
class C
def f(x)
print >>Message1 + >>Message2
Message1:
> Literal text
> ------------
> ... -
12:10 PM Bug #9177: Can't exit curses program and retain screen contents
- Hiroshi SHIBATA wrote:
> curses is extracted from ruby-core. Please report this issue to https://github.com/ruby/curses
Done:
https://github.com/ruby/curses/issues/5
-
11:30 AM Revision bb1d0d28 (git): parse.y: set encoding
- * parse.y (rb_str_dynamic_intern): associate proper encoding with
the result symbol.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:14 AM Revision e8de850e (git): encoding.c: fix encoding of dynsym
- * encoding.c (rb_enc_get_index): the encoding of dynamic symbol
comes from fstr.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:59 AM Revision 2d8c3e78 (git): remove break because strtab/symtab is usually the last segment
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:53 AM Bug #9652: Marshal doesn't dump/load Time#zone correctly with too many time object
- Eric Wong wrote:
> Sorry about the portability problems.
Of course you don't have to take it seriously.
It's the reason why platform maintainers exist.
I'm worried that I don't understand the intention of the test correctly.
If... -
08:26 AM Bug #9674: Segfault when marshaling Queue
- Thank you for the fast fix! :)
-
02:20 AM Bug #9674 (Closed): Segfault when marshaling Queue
- Applied in changeset r45423.
----------
thread.c: undumpable
* ext/thread/thread.c (undumpable): ConditionVariable and Queue
are not dumpable. [ruby-core:61677] [Bug #9674] -
08:24 AM Revision 45fff515 (git): encoding.c: enc_capable symbol
- * encoding.c (enc_capable): Symbol is now encoding capable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:40 AM Revision 623da152 (git): temporaly show sym->st_name and so on
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:43 AM Revision ef02cae5 (git): parse.y: fix rb_str_symname_type call
- * parse.y (rb_str_dynamic_intern): fix the second argument to
rb_str_symname_type, which is a bit mask but not a boolean.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:36 AM Revision 5620a519 (git): * parse.y (rb_str_dynamic_intern): fix commit miss.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:34 AM Revision 33b8663f (git): parse.y: guard dup string
- * parse.y (rb_str_dynamic_intern): prevent a string which may be
duplicated, from GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:34 AM Revision ad8ed59a (git): parse.y: dup iff needed
- * parse.y (rb_str_dynamic_intern): dup the given string only if
needed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:34 AM Revision 9a848c5f (git): parse.y: no dup US-ASCII string
- * parse.y (rb_str_dynamic_intern): no needs to associate encoding
if it is US-ASCII.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:58 AM Revision e70b61d0 (git): * parse.y: inline must be static (for mswin).
- fixed build error introduced at r45426.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:54 AM Bug #9677 (Third Party's Issue): OpenSSL::PKey::EC#to_text causes a segmentation fault
- I have Ruby 2.1.1p76 and when I try to run a particular snippet of code using the OpenSSL extension, I get a segmentation fault. I am running Arch Linux and I have openssl 1.0.1.f-1. I built Ruby from source. This bug also affects Rub...
-
05:39 AM Revision b9ea1359 (git): * internal.h (USE_SYMBOL_GC): enable Symbol GC by default (USE_SYMBOL_GC == 1).
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:14 AM Revision 17a6f922 (git): cast to int to silence clang compile error
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:57 AM Feature #9634 (Closed): [PATCH]Symbol GC - Applied in changeset r45426.
----------
* parse.y: support Symbol GC. [ruby-trunk Feature #9634]
See this ticket about Symbol GC.
* include/ruby/ruby.h:
Declare few functions.
* rb_sym2id: almost same as old SYM2ID but support dy... -
04:57 AM Revision 90b70738 (git): * parse.y: support Symbol GC. [ruby-trunk Feature #9634]
- See this ticket about Symbol GC.
* include/ruby/ruby.h:
Declare few functions.
* rb_sym2id: almost same as old SYM2ID but support dynamic symbols.
* rb_id2sym: almost same as old ID2SYM but support dynamic symbols.
* rb_sym2str:... -
04:30 AM Revision 2bf56ded (git): * addr2line.c (fill_lines): loop reverse order not to overwrite
- the basis of base addresses comparison.
* addr2line.c: use uintptr_t instead of intptr_t for poinrters.
* addr2line.c (rb_dump_backtrace_with_lines): don't use syms.
* vm_dump.c (rb_print_backtrace): ditto.
* addr2line.h: ditto.
git... -
02:20 AM Revision 3935f2ae (git): marshal.c: undumpable hidden objects
- * marshal.c (w_object): internal objects are not dumpable.
[ruby-core:61677] [Bug #9674]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:20 AM Revision 1dd52701 (git): thread.c: undumpable
- * ext/thread/thread.c (undumpable): ConditionVariable and Queue
are not dumpable. [ruby-core:61677] [Bug #9674]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:41 AM Bug #9675 (Rejected): Marshal.load fails with recursive structures and user defined hash method
- Cody Cutrer wrote:
> It seems like the hash should be constructed during loading *without* calling #hash, and then after the load has completed, call #rehash on all of the loaded hashes. This should fix any form of nested data structure... -
01:38 AM Revision f3867e22 (git): * addr2line.c (follow_debuglink): show message if it closes opened
- (and maybe used) elf binary.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:38 AM Revision b8ba4016 (git): * addr2line.c (fill_line): pass and use offset instead of
- curobj_baseaddr.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:48 AM Revision 62efb9c2 (git): add feature number to ChangeLog entry
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:21 AM Feature #9673: pieをconfigureからdisableしたい
- ありがとうございます。
入れておきました。
どこかで困っている人がいたら啓蒙しようと思います。
--
Yutaka KANEMOTO
http://d.hatena.ne.jp/kinpoco/ - 12:13 AM Revision 738c3034 (git): add --disable-pie option to configure
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:02 AM Revision 537623e4 (git): don't write _start as is; use dlsym
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
03/25/2014
-
11:55 PM Revision 3bd0fd11 (git): temporaly change/add to debug on powerpc64-linux
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:55 PM Revision 633b2fc9 (git): * addr2line.c (fill_lines): don't run fill_lines multiple times.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:52 PM Revision df0034f8 (git): * internal.h (rb_reg_search0): not a public API.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:46 PM Bug #9676 (Closed): String#gsub shouldn't allocate so many Strings in its loop - Applied in changeset r45414.
----------
Stop allocating backref strings within gsub's search loop
* internal.h: add prototype for rb_reg_search0
* re.c: rename rb_reg_search to rb_reg_search0, add set_backref_str
argument to allow c... -
10:55 PM Bug #9676 (Closed): String#gsub shouldn't allocate so many Strings in its loop
- `rb_reg_search()` allocates (dups) a String to attach to the backreference object ( `RMATCH(match)->str = rb_str_new4(str);` ). If #gsub has been passed 2 arguments (not Enumerator form) and the second argument is a String, then it shoul...
- 11:46 PM Revision a7720658 (git): Stop allocating backref strings within gsub's search loop
- * internal.h: add prototype for rb_reg_search0
* re.c: rename rb_reg_search to rb_reg_search0, add set_backref_str
argument to allow callers to indicate that they don't require the
backref string to be allocated
* string.c: don't a... -
11:29 PM Revision ebd9f1d0 (git): lib/rubygem.rb: Weirich
- * lib/rubygem.rb: fix spelling of Jim Weirich. [Fixes GH-577]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:29 PM Bug #9674: Segfault when marshaling Queue
- For clarity, a Queue is not dumpable. With DRb a reference to the Queue (DRbObject) is sent instead.
-
03:36 PM Bug #9674 (Closed): Segfault when marshaling Queue
- Marshaling `Queue` segfaults on ruby 2.1.1p76 (see attachment)
-
06:44 PM Revision 0fe34c4c (git): main is not a pubic function, use _start instead
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:11 PM Bug #9652: Marshal doesn't dump/load Time#zone correctly with too many time object
- usa@garbagecollect.jp wrote:
> r45364 introduced a test failure on Windows, and r45395 didn't fix it.
> After all, there is no portabl time zone name, I guess.
> Doesn't someone think of a better test?
Sorry about the portability ... -
06:49 AM Bug #9652: Marshal doesn't dump/load Time#zone correctly with too many time object
- r45364 introduced a test failure on Windows, and r45395 didn't fix it.
After all, there is no portabl time zone name, I guess.
Doesn't someone think of a better test? -
06:02 PM Feature #9673: pieをconfigureからdisableしたい
- さらっと見た感じ、あってそうです。どうせオプション増やしてるだけで失敗してても大きな影響はないんですから突っ込んでしまっていいのではないでしょうか。
-
02:38 PM Feature #9673 (Closed): pieをconfigureからdisableしたい
- 手持ちのある環境でtrunkを使いたくなって、./configure && makeでminirubyが落ちてしまいました。1.9の時代は動いていたという情報がたくさんあったので比較したところ、PIEが怪しかったので消してmakeしたところ無事コンパイルが終わってとりあえずmake testが終わるところまで確認しました。
configure.inをみると、一部のプラットフォームではデフォルトでPIEがdisableになっていますが、手持ちの環境(とあるNAS)のta... - 04:58 PM Revision 925a1e1d (git): * 2014-03-26
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:58 PM Revision c1b81d35 (git): * addr2line.c (rb_dump_backtrace_with_lines): a function to get must
- be a function in the main executable, whose absolute path is not
available by dladdr, and ruby get it by /proc/self/exe on Linux.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:58 PM Revision cd2afc30 (git): * addr2line.c (fill_lines): skip if path is NULL.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:54 PM Bug #9675 (Rejected): Marshal.load fails with recursive structures and user defined hash method
- If a user class redefines hash to something that depends on instance variables, and the object is loaded both before a hash, and as a key of a hash of one of its own instance variables (that's loaded *before* the instance variables neede...
-
02:57 PM Bug #9669 (Closed): Inconsistent SyntaxError in Ruby 2.1 mandatory keyword arguments definition without parentheses.
- Applied in changeset r45408.
----------
parse.y: required kwarg without parentheses
* parse.y (parser_yylex): only a newline after label should be
significant. [ruby-core:61658] [Bug #9669] -
08:15 AM Bug #9669 (Open): Inconsistent SyntaxError in Ruby 2.1 mandatory keyword arguments definition without parentheses.
- It doesn't work yet...
-
07:47 AM Bug #9669 (Closed): Inconsistent SyntaxError in Ruby 2.1 mandatory keyword arguments definition without parentheses.
- Applied in changeset r45405.
----------
parse.y: required kwarg without parentheses
* parse.y (lex_state_e, parser_params, f_arglist, parser_yylex):
separate EXPR_LABELARG from EXPR_BEG and let newline significant,
so that required... -
05:25 AM Bug #9669: Inconsistent SyntaxError in Ruby 2.1 mandatory keyword arguments definition without parentheses.
- Nobuyoshi Nakada wrote:
> Do you mean **all** line continuations?
I don't think so; the only one that ever comes up as a gotcha is a final required keyword argument in a function definition. -
04:52 AM Bug #9669: Inconsistent SyntaxError in Ruby 2.1 mandatory keyword arguments definition without parentheses.
- Or put a semicolon after `b:`.
Matthew Kerwin wrote:
> I think Ruby should drop the line continuation, and interpret all three code samples like the second case above, even though it might be hard to solve with the current parser.
... -
03:42 AM Bug #9669: Inconsistent SyntaxError in Ruby 2.1 mandatory keyword arguments definition without parentheses.
- It's because of line continuations. It interpreted the code as:
~~~ruby
def foo a:, b: 'bar'
# returns `nil`
end
def foo a:, b: puts 'bar' #<< syntax error
end
~~~
There are two ways to add parentheses to make it legal:
... -
03:33 AM Bug #9669: Inconsistent SyntaxError in Ruby 2.1 mandatory keyword arguments definition without parentheses.
- That is consistent. In the first example, `'bar'` is interpreted as the default value of `b`. In the second example, the expression `puts 'bar'` is inappropriate as the default value, hence the error.
-
02:36 AM Bug #9669 (Closed): Inconsistent SyntaxError in Ruby 2.1 mandatory keyword arguments definition without parentheses.
- Ruby allowed us to define method with arguments without parentheses.
~~~
def foo a:, b:
'bar'
end
#=> :foo
def foo a:, b:
puts 'bar'
end
#=> syntax error
~~~ -
02:57 PM Revision dcd1e5e5 (git): parse.y: required kwarg without parentheses
- * parse.y (parser_yylex): only a newline after label should be
significant. [ruby-core:61658] [Bug #9669]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:42 PM Revision 6df5f314 (git): remove unnecessary unshift
- * ext/pathname/lib/pathname.rb (Pathname#join): remove unnecessary unshift.
* test/pathname/test_pathname.rb (TestPathname#test_join): add tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:32 AM Feature #9620: Rename "curry" to "schönfinkelize"
- http://en.wikipedia.org/wiki/Currying
> The name "currying", coined by Christopher Strachey in 1967, is a reference to logician Haskell Curry.
So in this case, the Third Party is Christopher Strachey. -
05:09 AM Feature #9620: Rename "curry" to "schönfinkelize"
- I think because the proposed method is not for “native” speakers, its meant for third party individuals ;)
It was meant as a joke
On Mar 24, 2014, at 1:53 PM, duerst@it.aoyama.ac.jp wrote:
> Issue #9620 has been updated by Mart... - 07:57 AM Revision 602a9c14 (git): * test/ruby/test_time.rb: extended the timeout span and reduce the loop count.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:47 AM Revision d7442c32 (git): parse.y: required kwarg without parentheses
- * parse.y (lex_state_e, parser_params, f_arglist, parser_yylex):
separate EXPR_LABELARG from EXPR_BEG and let newline significant,
so that required keyword argument can place at the end of
argument list without parentheses. [ruby-... -
07:39 AM Revision 0574b646 (git): parse.y: removing padding
- * parse.y (parser_params): shrink struct size by removing padding
on 64-bit platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 06:55 AM Revision 69c80f18 (git): * test/ruby/test_time.rb: use portable time zone. see [ruby-core:61671] [Bug #9652]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:48 AM Feature #9667: Optimization of __FILE__ and __dir__
- `test/rubygems/test_gem.rb` fails at `untaint`ing `__FILE__`, when parallel test.
-
01:30 AM Revision b8c376cb (git): defs/gmake.mk: no _FORTIFY_SOURCE unless optimization
- * defs/gmake.mk (XCFLAGS): remove _FORTIFY_SOURCE if optimization is
disabled as it requires compiling with optimization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e