Activity
From 01/04/2016 to 01/10/2016
01/10/2016
-
11:12 PM Bug #11975 (Rejected): Range#last is not consistent and possibly does not do what is expected.
- The following example demonstrates an inconsistency with Range:
This is expected behaviour:
~~~
(0..10).last => 10
(0..10).to_a.last => 10
~~~
This is unexpected behaviour:
~~~
(0...10).last => 10 # (should be 9?)
(0...1... -
10:41 PM Bug #11657: Abort Trap 6 when running a test suite
- Excellent, many thanks for the patches :-)
-
10:33 PM Bug #11974 (Closed): segmentation fault when executing rake doc:app
- This segmentation fault (see attached file) occurs when executing rake doc:app for any Rails project.
=======
Rails 4.2.5
rake, version 10.4.2
-
10:26 PM Bug #11973 (Rejected): IO#advise should raise NotImplementedError on platforms that do not support that call
- Right now IO#advise returns nil when passed legal arguments even on platforms that do not support that POSIX function (like OS X). To be consistent with other calls in core, I think that IO#advise should raise NotImplementedError for uns...
-
01:12 PM Bug #11972 (Closed): CGI::pretty がコメント内のhtmlタグにより範囲を見失う
- 以下のようなコードで ArgumentError が再現します。
~~~
#!/usr/bin/env ruby
require 'cgi'
puts CGI.pretty(DATA.read)
__END__
<script>
// <!--
alert('<p></p>');
// -->
</script>
~~~
手元では CGI::pretty の1行目を
lines = string.gsub(/(?!\A)<[^!... -
11:57 AM Revision e6f6c77d (git): compile.c: fix lhs splat in massign
- * compile.c (compile_massign_lhs): when index ends with splat,
append rhs value to it like POSTARG, since VM_CALL_ARGS_SPLAT
splats the last argument only. [ruby-core:72777] [Bug #11970]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/... -
11:57 AM Bug #11970 (Closed): Multiple Assignment Into a Hash with Destructuring causes segfault
- Applied in changeset r53495.
----------
compile.c: fix lhs splat in massign
* compile.c (compile_massign_lhs): when index ends with splat,
append rhs value to it like POSTARG, since VM_CALL_ARGS_SPLAT
splats the last argument only.... -
09:43 AM Revision a5beed9f (git): ext/-test-: reduce feature names
- * ext/-test-/**/extconf.rb: bring up extension libraries which
have same name as the parent directory to reduce feature names.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:58 AM Bug #11971 (Third Party's Issue): Gem.path lost default path '[installdir]/lib/ruby/gems/2.3.0' when both GEM_HOME and GEM_PATH has seted
- Thank you, confirmed with all of 1.9..trunk.
It is an issue of rubygems. -
06:05 AM Bug #11971: Gem.path lost default path '[installdir]/lib/ruby/gems/2.3.0' when both GEM_HOME and GEM_PATH has seted
- Nobuyoshi Nakada wrote:
> ~~~
> ...
Sorry for my fault, It needs both GEM_HOME and GEM_PATH has seted.
-
06:45 AM Revision 09bdb791 (git): missing.h: remove explicit_bzero_by_memset_s
- * include/ruby/missing.h (explicit_bzero_by_memset_s): remove
inline implementation by memset_s, which needs a macro before
including headers and can cause problems in extension libraries
by the order of the macro and headers.
git... -
05:23 AM Feature #10548: remove callcc (Callcc is now going obsoleted. Please use Fiber.)
- Please don't do it. Continuations are awesome
- 04:44 AM Revision 2b26565e (git): io.c: remove obsolete rb_deferr global variable
- This was made obsolete by r4190 back in July 2003. Furthermore,
this existed less than 3 months as it was only introduced in
r3782.
So with absolutely no references to rb_deferr, I doubt any vim
plugin would care anymore.
ChangeLog: f... - 04:43 AM Revision 18ca559d (git): ChangeLog: fixup indent for r53488
- Oops :x
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:07 AM Revision 645d2395 (git): insns.def: description [ci skip]
- * insns.def: [DOC] add missing English description.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:35 AM Revision ec0198fd (git): * 2016-01-10
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:35 AM Revision 778bbac8 (git): stdlib: avoid extra calls to eliminate "\n" from Base64
- We may use the '0' (zero) to avoid adding the line feed.
Furthermore, the '*' (asterisk) modifier is not needed for
a single-element arrays.
* ext/psych/lib/psych/visitors/yaml_tree.rb (visit_String):
eliminate chomp
* lib/net/http.rb... -
12:35 AM Feature #11938 (Closed): [PATCH] cleanup: stdlib: avoid extra calls to eliminate "\n" from Base64 - Applied in changeset r53488.
----------
stdlib: avoid extra calls to eliminate "\n" from Base64
We may use the '0' (zero) to avoid adding the line feed.
Furthermore, the '*' (asterisk) modifier is not needed for
a single-element arrays...
01/09/2016
-
07:20 PM Bug #11967 (Rejected): Mixing kwargs with optional parameters changes way method parameters are parsed
- This behavior may be surprising but it is intentional.
It boils down to giving priority to filling keyword arguments first instead of filling unnamed parameters. It is actually the only possible way to go. Among other things, think ab... -
02:23 PM Bug #11970: Multiple Assignment Into a Hash with Destructuring causes segfault
- https://github.com/nobu/ruby/tree/bug/11970-massign-lhs-splat
-
09:34 AM Bug #11970: Multiple Assignment Into a Hash with Destructuring causes segfault
- Seems incorrect results also in 2.0 and 2.1.
-
02:19 PM Revision 4b346b0e (git): test_hash.rb: add test
- * test/ruby/test_hash.rb (test_try_convert): Add test for
Hash.try_convert. [Fix GH-1190]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:15 PM Revision fa892028 (git): openssl: fix examples [ci skip]
- * ext/openssl/ossl.c: Add missing variables to documentation
examples. [Fix GH-1189]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:38 PM Bug #10653: do-end block in ternary operator is syntax error
- Currently it's a bit flag in parse.y too.
-
11:26 AM Bug #10653: do-end block in ternary operator is syntax error
- I was implementing this in my Ruby parser and I found a much simpler solution than what you've implemented here: https://github.com/whitequark/parser/commit/113442eff1f9c6f7e7205ec0dac8cb858b3b0fc7
In short, instead of explicitly enum... -
09:51 AM Bug #11971 (Feedback): Gem.path lost default path '[installdir]/lib/ruby/gems/2.3.0' when both GEM_HOME and GEM_PATH has seted
- ~~~
$ GEM_PATH=/ ruby2.3 -e 'p Gem.path'
["/", "/opt/local/lib/ruby2.3/gems/2.3.0"]
$ GEM_HOME=/ ruby2.3 -e 'p Gem.path'
["/Users/nobu/.gem/ruby/2.3.0", "/opt/local/lib/ruby2.3/gems/2.3.0", "/"]
~~~
Seems present. -
06:56 AM Bug #11971 (Third Party's Issue): Gem.path lost default path '[installdir]/lib/ruby/gems/2.3.0' when both GEM_HOME and GEM_PATH has seted
- Version: ruby 2.3.0 and gem 2.5.1
Gem.path lost default path '[installdir]/lib/ruby/gems/2.3.0' when both GEM_HOME and GEM_PATH has been set
So require stdlib like 'test-unit' or 'rake' will raise 'LoadError'
But ruby 2.2.3 and ... -
09:39 AM Bug #11956: RUBYOPT parses after rubygems loaded
- Am I Who wrote:
> RUBYOPT parse prior to rubygems before ruby 2.3.0, why ruby 2.3.0 change this?
I have explained: https://bugs.ruby-lang.org/issues/11956#note-4
> ...
It hasn't changed, just a gem is loaded before `RUBYOPT`.
Ano... -
05:04 AM Bug #11956: RUBYOPT parses after rubygems loaded
- Nobuyoshi Nakada wrote:
> I'm uncertain if rubygems expects such usage of `RUBYOPT` or not.
> ...
RUBYOPT parse prior to rubygems before ruby 2.3.0, why ruby 2.3.0 change this? -
01:52 AM Bug #11956: RUBYOPT parses after rubygems loaded
- I'm uncertain if rubygems expects such usage of `RUBYOPT` or not.
Another way is to put your code in `rubygems/defaults/ruby.rb` under `RUBYLIB`.
This file is read only when `RUBY_ENGINE` is `"ruby"` at initialization of rubygems. -
12:15 AM Bug #11956: RUBYOPT parses after rubygems loaded
- Nobuyoshi Nakada wrote:
> Rubygems sets `Gem.path` at loading the first gem.
> ...
Because I uses MRI ruby and jruby at the same time, if I just set env variable GEM_HOME and GEM_PATH many gems will conflict within MRI ruby and jruby -
09:26 AM Revision c79402c4 (git): symbol.h: unexpected safe call
- * symbol.h (is_attrset_id): ASET is an attrset ID. fix
unexpected safe call instead of an ordinary ASET.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:49 AM Revision f6dcbf74 (git): nmake VPATH
- * ext/rbconfig/sizeof/depend (sizes.c): add nmake VPATH prefix.
reapply r53482 with '#' as separator not to be removed in
make-snapshot.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:24 AM Revision 52ddf1f8 (git): Revert r53482 "nmake VPATH"
- it breaks `make dist`.
http://rubyci.s3.amazonaws.com/tk2-243-31075/ruby-trunk/log/20160109T034902Z.fail.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:33 AM Revision 64e22859 (git): nmake VPATH
- * ext/rbconfig/sizeof/depend (sizes.c): add nmake VPATH prefix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:32 AM Revision 445e11da (git): probes.h including dummy header
- * Makefile.in, win32/Makefile.sub (probes.h): include dummy header
instead of copying.
* common.mk (probes.dmyh): add nmake VPATH prefix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:46 AM Revision a4c091a6 (git): fix rc files conflict in parallel build
- * cygwin/GNUmakefile.in (%.rc): generate .rc files separately to
get rid of conflict in parallel build.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:15 AM Revision c0e36de0 (git): vcs.rb: srcdir accessor
- * tool/vcs.rb (VCS#srcdir): add accessor for VCS::GIT.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:03 AM Revision 612edc77 (git): use stringized macros
- * version.h (RUBY_COPYRIGHT): use stringized macros,
RUBY_BIRTH_YEAR_STR and RUBY_RELEASE_YEAR_STR.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:44 AM Revision d43ef66b (git): RUBY_PROGRAM_VERSION from RUBY_VERSION
- * configure.in, win32/setup.mak: extract RUBY_PROGRAM_VERSION from
RUBY_VERSION in version.h instead of RUBY_API_VERSION numbers in
include/ruby/version.h, and cut it into version numbers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby... -
01:02 AM Revision d58e799d (git): extract version from version.h
- * tool/mkconfig.rb: extract version numbers from version.h but not
from API version in include/ruby/version.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:23 AM Revision 1fbfa718 (git): RUBY_RELEASE_DATE in verconf.mk
- * win32/setup.mak (verconf.mk): extract RUBY_RELEASE_DATE without
quotation marks.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:20 AM Revision 34b1c7dd (git): fix library teeny
- * configure.in, win32/Makefile.sub: fix teeny of library version
to 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:20 AM Revision 6837c648 (git): configure.in: RUBY_PROGRAM_VERSION
- * configure.in: use $(RUBY_PROGRAM_VERSION) instead of the triplet
macros.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:19 AM Revision bc8a7f9a (git): revert r53459, r53427, r53314
- Revert "* tool/make-snapshot: fix for the changes of version.h in r53314."
Revert "* version.h (RUBY_BUILD_VERSION_STR_3): Workaround for old version of"
Revert "program version from API version"
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
01/08/2016
-
10:15 PM Revision fca0cf6e (git): * gc.c: rename PAGE_* to HEAP_PAGE_* because PAGE_SIZE is used
- in Mac OS X.
* test/ruby/test_gc.rb: catch up this fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:46 PM Revision 1f1f3112 (git): * gc.c: PAGE_BITMAP_PLANES (the number of bitmap) is 4, not 3.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:45 PM Revision 17c7bdc0 (git): * 2016-01-09
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:45 PM Revision f8827cef (git): * gc.c: rename constant names HEAP_* to PAGE_*.
- Keys of GC::INTERNAL_CONSTANTS are also renamed.
* test/ruby/test_gc.rb: catch up this fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:27 PM Bug #11970: Multiple Assignment Into a Hash with Destructuring causes segfault
- I apologize for whatever I did to mangle the formatting.
-
06:20 PM Bug #11970 (Closed): Multiple Assignment Into a Hash with Destructuring causes segfault
- Segfaults in 2.2.3 and 2.3.0, In 2.1.0 and below, produces `{[:foo]=>:bar}`
~~~ruby
foo = [:foo]
bar = [:bar]
h = {}
h[*foo], _tail = *bar # Segfault
~~~
Using hash assignment/destructuring in this way may very well be undef... -
05:00 PM Feature #11955: Expose Object that Receives logs in Logger
- > Your example doesn't seem to able to get rid of adding stdout_logger twice or more, even with logger.destination.
It took a long time to write that example to be short, maybe I missed some details. A real world example is in that li... - 01:34 PM Revision 066b8254 (git): * doc/regexp.rdoc: [DOC] Elaborate on the \G anchor. [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:07 PM Bug #11956: RUBYOPT parses after rubygems loaded
- Rubygems sets `Gem.path` at loading the first gem.
Ruby 2.3 bundles `did_you_mean` and activates it by default.
Why don't you set `GEM_HOME` and `GEM_PATH` directly instead of setting them in that file? -
12:09 PM Bug #11969 (Closed): [PATCH] IRB: Final newline missing in truncated backtraces
- If IRB shows a backtrace that gets truncated because of `back_trace_limit`, the last line of the backtrace does not end with a newline.
Steps to reproduce:
~~~
$ irb -f --back-trace-limit 1
irb(main):001:0> foo
~~~
Actual out... -
10:56 AM Revision b6261054 (git): * gc.c: remove heap_page::body. Instead of this field,
- heap_page::start field works well.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:52 AM Revision 92f33ef2 (git): iseq.c: volatile only on gcc4.8
- * iseq.c (rb_iseq_compile_with_option): no volatile on gcc other
than 4.8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:34 AM Revision 3ccafdb0 (git): * gc.c: rename rb_heap_t::page_length to rb_heap_t::total_pages.
- `page_length' is not clear (we may understand with length of
a page).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:24 AM Revision 4ebaed6b (git): test_tempfile.rb: use assert_file
- * test/test_tempfile.rb (test_create_with{,out}_block): use
assert_file for descriptive failure messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 08:23 AM Revision 98311146 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:23 AM Revision e5e37c20 (git): * gc.c: remove heap_page::heap. This field is only used to recognize
- whether a page is in a tomb or not. Instead of this field,
heap_page::flags::in_tomb (1 bit field) is added.
Also type of heap_page::(total|free|final)_slots are changed from
int to short. 2B is enough for them.
git-svn-id: sv... -
07:47 AM Revision 0455a255 (git): iseq.c: make local variables volatile
- * iseq.c (rb_iseq_compile_with_option): prepare arguments outside
EXEC_TAG, and make local variables volatile not to be clobbered
by longjmp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:35 AM Revision 1645833e (git): * tool/make-snapshot: fix for the changes of version.h in r53314.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:08 AM Misc #11876: Scheduled maintenance 2016/01/01
- shibata.hiroshi@gmail.com wrote:
> LA of svn server is 0.10 to 0.20.
> We have enough resources includes memory, disk, network.
>
> No need to worry :)
Thank you, I am now running svnsync on http://svn.ruby-lang.org/repos/ruby
... -
01:25 AM Misc #11876: Scheduled maintenance 2016/01/01
- >Sorry, I meant "loaded" in terms of resource use
> ...
ah. Thanks for your explanation.
LA of svn server is 0.10 to 0.20.
We have enough resources includes memory, disk, network.
No need to worry :)
-
01:48 AM Bug #11954 (Assigned): "self has wrong type to call super in this context" under weird circumstances
- The bug was introduced in r52104 by ko1, and it seems to be fixed by the attached patch, but Im' not sure.
-
01:21 AM Bug #11967: Mixing kwargs with optional parameters changes way method parameters are parsed
- This looks like a spec issue, so I have assigned it to Matz. I can see arguments for both ways, the current one and the one proposed by Markus. But we can't have it both ways :-(.
-
12:38 AM Revision 11516342 (git): * iseq.c (rb_iseq_compile_with_option): move variable initialization
- code to avoid maybe-uninitialized warnings by gcc 4.8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
01/07/2016
-
10:48 PM Misc #11876: Scheduled maintenance 2016/01/01
- SHIBATA Hiroshi <hsbt@ruby-lang.org> wrote:
> > Btw, how loaded is the SVN server nowadays?
>
> I used svnadmin load/dump at this time.
Sorry, I meant "loaded" in terms of resource use
(loadavg/memory/disk/network).
Having a ... -
04:28 AM Misc #11876: Scheduled maintenance 2016/01/01
- shibata.hiroshi@gmail.com wrote:
> restore done.
Curious, what broke/changed?
Btw, how loaded is the SVN server nowadays?
I might create a mirror using the svnsync(1) for git-svn
development/testing purposes. However, I do... -
03:44 AM Misc #11876 (Closed): Scheduled maintenance 2016/01/01
- restore done.
-
08:47 PM Bug #11966 (Closed): YAML#load fails with OpenStruct object
- Thanks for filing this. Already fixed, see #11884.
-
12:45 PM Bug #11966 (Closed): YAML#load fails with OpenStruct object
- Code that can be used to reproduce the issue (works on 2.2.3, fails on 2.3.0):
~~~
require 'ostruct'
require 'yaml'
yaml = "
args:
- !ruby/object:OpenStruct
table:
:body: foo "
YAML.load(yaml)
~~~
Stacktrace:
... -
07:11 PM Bug #11968 (Closed): OpenSSL extension only supports weak (512-bit, 1024-bit) Diffie-Hellman groups
- The following D-H groups are enabled per default:
https://github.com/ruby/ruby/blob/trunk/ext/openssl/lib/openssl/pkey.rb
These use 512-bit and 1024-bit primes respectively. These are considered weak in 2015 by all present methods ... - 03:07 PM Revision 7fbd9349 (git): * 2016-01-08
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:07 PM Revision 3dcd4b2a (git): * enum.c (enum_min, enum_max): do the same optimization as r53454.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:38 PM Bug #11954: "self has wrong type to call super in this context" under weird circumstances
- I can reproduce this bug on 2.3.0 and was able to reduce the broken code even more increasing the amount of iterations:
https://gist.github.com/splattael/7b45e0f16e0084f50668
-
02:25 PM Bug #11967 (Rejected): Mixing kwargs with optional parameters changes way method parameters are parsed
- I have the following method:
def test(first_param = nil, keyword_arg: nil)
puts "first_param: #{first_param}"
puts "keyword_arg: #{keyword_arg}"
end
All the following calls do what I expect them to do:
... - 01:35 PM Revision 98e565ec (git): * ruby.h: undef HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR_CONSTANT_P
- and HAVE_BUILTIN___BUILTIN_TYPES_COMPATIBLE_P on C++.
[ruby-core:72736] [Bug #11962]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:35 PM Bug #11962 (Closed): Ruby 2.3.0 causing compile failure on extensions using a C++ compiler
- Applied in changeset r53455.
----------
* ruby.h: undef HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR_CONSTANT_P
and HAVE_BUILTIN___BUILTIN_TYPES_COMPATIBLE_P on C++.
[ruby-core:72736] [Bug #11962] -
12:33 PM Bug #11962: Ruby 2.3.0 causing compile failure on extensions using a C++ compiler
- I found the other place to be fixed.
The following patch is the complete version.
```diff
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h
index 7aabf5b..a2f42c8 100644
--- a/include/ruby/ruby.h
+++ b/include/ruby/ruby.h
@... -
07:16 AM Bug #11962: Ruby 2.3.0 causing compile failure on extensions using a C++ compiler
- Can I fix it by the following change?
~~~diff
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h
index 7aabf5b..72523c6 100644
--- a/include/ruby/ruby.h
+++ b/include/ruby/ruby.h
@@ -874,7 +874,7 @@ struct RBasic {
VALUE rb... -
01:06 PM Revision 9f44b77a (git): * enum.c (enum_minmax): optimize object comparison in
- Enumerable#minmax.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:28 PM Revision a1115a1b (git): * ext/ripper/depend: Just like BSDmake, nmake also recognize the rule of
- ".eventids2.check" as inference one. but nmake is not cheated by macro.
this fixes build failure introduced at r53448. see also the commit log of
r53452.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53453 b2dd03c8-39d4-4d8f-9... -
10:12 AM Feature #11963: Add a simple static web server to `ruby`
- I guess somebody providing code/a patch would go a long way to moving this issue forward. The invocation syntax is probably a detail that will solve itself somehow when we have an implementation.
As to introducing another way to do th... -
02:28 AM Feature #11963: Add a simple static web server to `ruby`
- sgharms@stevengharms.com wrote:
> "Good artists copy, great artists steal." - Pablo Picasso
<snip>
> I believe the best and shortest chant is the following:
>
> `ruby -run -e httpd . -p <PORT>`
If we steal from Python, we m... -
12:09 AM Feature #11963 (Closed): Add a simple static web server to `ruby`
- # Introduction
"Good artists copy, great artists steal." - Pablo Picasso
`python -m SimpleHTTPServer` starts a static webserver in the local directory. It is
helpful in many surprising ways. Ruby lacks a similar idiom. I advocate... -
10:01 AM Misc #11957: svn リポジトリのリビジョンがずれている
- 復旧していることを確認できました。ありがとうございます
-
02:52 AM Misc #11957 (Closed): svn リポジトリのリビジョンがずれている
- 11:30(JST) に再構築しました。ご指摘のあったリビジョンは復旧していると思います。
-
08:33 AM Bug #11956: RUBYOPT parses after rubygems loaded
- Nobuyoshi Nakada wrote:
> Yes.
> ...
I change GEM_HOME and GEM_PATH in loader.rb , but it doesn't affect Gem.path.
The same loader.rb works at ruby 2.2.3(and before) and jruby.
I uses both MRI ruby and jruby,so I uses RUBYOPT to chan... -
03:13 AM Bug #11956 (Feedback): RUBYOPT parses after rubygems loaded
- Yes.
And what is your problem? -
07:59 AM Bug #4044: Regex matching errors when using \W character class and /i option
- Hmmm... When I try it with any other combination it never matches. Its only when I add the /i then it doesn't matter which case of "f"
~~~
"ffffFFFF".scan(/[\W]/) # []
"ffffFFFF".scan(/[\W]/i) # ["ff", "ff", "FF", "FF"]
"ff... -
05:40 AM Bug #4044: Regex matching errors when using \W character class and /i option
- Sam Eaton wrote:
> /[\W]/ =~ "00FF00" # nil
> ...
It's spec.
Its mechanism is, \W includes U+FB00 (LATIN SMALL LIGATURE FF).
/i option expands it into FF.
The the "FF" match given string. -
07:11 AM Revision 93bf5472 (git): fix r53448
- avoid mkmf.rb's suffix rule scanner (lib/mkmf.rb:2085), it detects
suffix rule from depend file and adds .SUFFIXES.
It breaks bsdmake to generate check file named ".eventids2.check".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@534... -
06:51 AM Revision 84d9d485 (git): Additional fix of r53450
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:37 AM Revision f2ba23ac (git): mkmf.rb: fix for ODE make
- * lib/mkmf.rb (create_makefile): get rid of placing @ at the
beginning of replacement, which is the loop expansion mechanism
from the OSF Development Environment (ODE) make. fix failures
with bmake by r53448.
git-svn-id: svn+ssh:... -
05:50 AM Bug #10738: Parsing invalid URI results in undefined method `split' for nil:NilClass (NoMethodError)
- Here is the reproduction steps:
~~~
$ rbenv shell 2.2.4
$ ruby -ruri -e 'URI "mailto:/example.com/"'
/Users/rafaelfranca/.rbenv/versions/2.2.4/lib/ruby/2.2.0/uri/mailto.rb:138:in `initialize': undefined method `split' for nil:NilCl... -
05:47 AM Bug #10738: Parsing invalid URI results in undefined method `split' for nil:NilClass (NoMethodError)
- This issue is also present in Ruby 2.2. Is it possible to backport?
-
05:49 AM Revision 557a00f1 (git): thread.c: interrupt queue on uninitialized thread
- * thread.c (rb_thread_pending_interrupt_p): no pending interrupt
before initialization.
* thread.c (thread_raise_m, rb_thread_kill): uninitialized thread
cannot interrupt. [ruby-core:72732] [Bug #11959]
git-svn-id: svn+ssh://ci.rub... -
05:49 AM Bug #11959 (Closed): Segfault during `exit' in thread initialize (Extended class).
- Applied in changeset r53449.
----------
thread.c: interrupt queue on uninitialized thread
* thread.c (rb_thread_pending_interrupt_p): no pending interrupt
before initialization.
* thread.c (thread_raise_m, rb_thread_kill): uninitiali... -
05:44 AM Feature #11955: Expose Object that Receives logs in Logger
- Your example doesn't seem to able to get rid of adding `stdout_logger` twice or more, even with `logger.destination`.
Maybe won't it be better to do in `LogDevice` layer? -
05:04 AM Feature #11965 (Closed): provide default basename parameter Tempfile.create
- **Tempfile.new** have default basename from 2.3.0
https://github.com/ruby/ruby/commit/05c108cdba62545bb50616726f0b7261cb89ad4e
So, I propose that **Tempfile.create** also set default basename.
ref https://github.com/ruby/ruby/pu... -
03:06 AM Revision b032d111 (git): mkmf.rb: library installation messages
- * lib/mkmf.rb (configuration, dummy_makefile, create_makefile):
show library installation messages only when any files need to
be updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:34 AM Revision 9a0b64fd (git): * 2016-01-07
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:34 AM Revision 7aab062e (git): version.c: no exit in ruby_show_copyright
- * include/ruby/backward.h (ruby_show_copyright_to_die): for source
code backward compatibility.
* ruby.c (process_options): return Qtrue to exit the process
successfully.
* version.c (ruby_show_copyright): no longer exit.
git-svn-id... -
02:34 AM Bug #8316: Can't pass hash to first positional argument; hash interpreted as keyword arguments
- This is unfortunately still an issue with default values in positional arguments:
2.2.2 > def foo(hash={}, opt: true); p hash; p opt; end
=> :foo
2.2.2 > foo({a: 1})
ArgumentError: unknown keyword: a
Expected behavior is that f... -
01:44 AM Bug #11964 (Closed): __callee__ in aliased methods defined in a module returns an incorrect value - With Ruby 2.3, instead of following snippet printing bar (as it does with ruby 2.2.4) it prints foo.
If the methods are defined within the class instead of an included module, the snippet prints bar.
~~~ruby
module Mod
def foo
...
01/06/2016
-
11:26 PM Bug #4044: Regex matching errors when using \W character class and /i option
- I am experiencing this issue with Ruby 2.3.0 on both OS X 10.10.5 and Ubuntu 14.04.3. When i have a double "f" i get a regex match with the non-word symbol and case insensitivity.
~~~
/[\W]/ =~ "00FF00" # nil
/[\W]/i =~ "00FF00... -
10:49 PM Bug #11937 (Closed): did_you_mean and other bundled gems are not installed by make install
- Thanks for your comments and commits, it is clearer now :)
-
05:14 PM Bug #11962 (Closed): Ruby 2.3.0 causing compile failure on extensions using a C++ compiler
- Hello,
I'm a contributor with the SciRuby foundation, and we have a gem called [nmatrix](https://github.com/SciRuby/nmatrix), which is a ruby gem for linear algebra processing in Ruby.
For representing different types of data, nmat... -
04:34 PM Bug #11961 (Closed): Array#delete_if gets an unexpected behavior when Array is modified during execution
- However strange is the code below the behavior is not which expected.
a = %w(aue)
a.delete_if { a.delete_if { true }; true}
p a
with ruby 2.3 it produces:
["aue", false, false]
with ruby 2.2 it procudes:
[]
After a gi... -
04:27 PM Feature #11955: Expose Object that Receives logs in Logger
- Here is a patch to Rails that could benefit from standardizing access to the logger destination object: https://github.com/rails/rails/pull/22933
-
04:19 PM Misc #11960 (Closed): Tiny documentation improvement for URI.escape
- This just cropped up on Reddit. A user was confused by URI.escape's behavior, why it was obsolete, and what should be used instead. So, here's a trivial doc patch:
```
diff --git a/lib/uri/common.rb b/lib/uri/common.rb
index 4c7d112... -
04:11 PM Bug #11959 (Closed): Segfault during `exit' in thread initialize (Extended class).
- https://ideone.com/jluEsq (ruby 2.1.5p273)
https://eval.in/498185 (ruby 2.3.0)
Minimal reproduction:
~~~
require 'thread'
class A < Thread
def initialize
exit
end
end
A.new
~~~
-
12:37 PM Misc #11876 (Assigned): Scheduled maintenance 2016/01/01
- I found broken revisions before r53353.
I try to dump and restore svn repository. I will maintenance svn.ruby-lang.org tomorrow afternoon(JST).
Sorry for your inconvenience experience. -
12:34 PM Misc #11957 (Assigned): svn リポジトリのリビジョンがずれている
- ご報告ありがとうございます。
旧サーバーにてデータを確認したところ、ご指摘のあったリビジョンは別のデータとなっており
確かに移行先のリポジトリのデータが壊れているようです。
今回の移設では日時で作成しているバックアップデータを用いて再構築を行いましたが、それらの
データが壊れていた可能性があります。改めて旧サーバーからダンプデータを作成しなおし、
再構築を行っている最中です。
完了したらこの issue でご連絡します。
-
11:25 AM Misc #11957 (Closed): svn リポジトリのリビジョンがずれている
- r34900-r53360 あたりでコミットが重複したりリビジョン番号が以前と変わってしまっています。
先月は正常だった気がするので、おそらく #11876 のメンテナンスの影響ではないかと思います。
例えば、もともと r34900 だったコミットが、現在のリポジトリでは r34900 と r34920 で重複しています。
https://github.com/ruby/ruby/commit/e5ac15998d29d5a239827fadc95ec3ff6... -
12:26 PM Bug #11958 (Closed): TCPSocket.getsockopt().bool raises a TypeError on windows
- The following code snippet works as expected on linux (it returns "false"):
~~~ruby
require 'net/http'
http = Net::HTTP.new('192.168.111.21', 8080)
http.start
socket = http.instance_variable_get(:@socket).io
socket.getsockopt(S... -
09:26 AM Bug #11947 (Assigned): BigDecimal#coerce: unexpected behavior with Float
- 08:23 AM Revision 1491c418 (git): * 2016-01-06
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:23 AM Revision 49684589 (git): optparse.rb: into kwdarg
- * lib/optparse.rb (OptionParser#order!): add `into` optional
keyword argument to store the results. [Feature #11191]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:23 AM Feature #11191 (Closed): Add #to_h method to OptionParser
- Applied in changeset r53444.
----------
optparse.rb: into kwdarg
* lib/optparse.rb (OptionParser#order!): add `into` optional
keyword argument to store the results. [Feature #11191] -
04:08 AM Bug #11953: ThreadError in 2.3 on code that works on 2.2.4
- My recreation may not be useful though as it has the same error on Ruby 2.2.4. The longer code does not.
-
03:49 AM Bug #11953: ThreadError in 2.3 on code that works on 2.2.4
- This is the minimal reproduction I could come up with:
~~~ruby
require "forwardable"
require "singleton"
class Surprise
include Singleton
class << self
extend Forwardable
def method_added(method)
(class... -
02:18 AM Bug #11956 (Closed): RUBYOPT parses after rubygems loaded
- RUBYOPT=-rloader but loader.rb loads after rubygems.rb loaded
I change GEM_HOME and GEM_PATH in loader.rb , but it doesn't affect Gem.path.
The same loader.rb works at ruby 2.2.3(and before) and jruby.
I uses both MRI ruby and jruby...
01/05/2016
-
09:59 PM Feature #11955 (Assigned): Expose Object that Receives logs in Logger
- I need to be able to perform logic based on the destination of a current logger, this is currently not possible without `instance_variable_get`. Why would you need to see what destination a logger is going to? There is a common pattern i...
-
08:29 PM Bug #11954 (Closed): "self has wrong type to call super in this context" under weird circumstances
- See attached file snafu.rb.
This file was obtained by inlining and reducing a large codebase... -
07:01 PM Bug #11953 (Rejected): ThreadError in 2.3 on code that works on 2.2.4
- This is my first bug reporting, so I'm sorry if this isn't exactly correct format. I'll update my report accordingly if pointed in the right direction.
I ran into what appears to be a bug while doing a quiz.
I've included the break... -
05:17 PM Misc #11904: Why was Thread.exclusive deprecated?
- Nobuyoshi Nakada wrote:
> This use of `Thread.exclusive` seems nonsense.
> ...
That's the point; no two threads can call init via this code at the same time.
Of course, require's guarantee of "only once" would do the same thing here. -
04:00 PM Bug #11928: Segmentation fault in did_you_mean extension
- I was able to replicate it without `did_you_mean`.
1. Save this file as `loader.rb`:
```ruby
-> { require_relative 'segfault' }.call
```
2. Save this file as `segfault.rb`:
```ruby
class Segfault
... -
02:39 PM Bug #11928: Segmentation fault in did_you_mean extension
- I think i encountered similiar or even the same issue, managed to replicate in quite simple env with roda
https://github.com/hirokiraj/roda-2.3.0-bug
Control frame and backtrace -> https://gist.github.com/hirokiraj/83d917de90e0f60253... -
03:23 PM Bug #11909: io.popen problem in 2.2 and over
- Hi all and thanks to Jens !
If I add $stdout.sync at the beginning of prova5.rb and $stdout.flush at the end all runs OK !!!!
Yesterday we substitute our logic with Nokogiri, but now we can return back to libxml-ruby (it's faster...)... -
12:25 PM Bug #11909: io.popen problem in 2.2 and over
- Associated libxml-ruby issue: [#115](https://github.com/xml4r/libxml-ruby/issues/115).
Related libxml-ruby issue: [#109](https://github.com/xml4r/libxml-ruby/issues/109) (executing `test.rb` via `IO.popen` exhibits the same problem).
-
12:15 PM Bug #11909: io.popen problem in 2.2 and over
- I don't have time to investigate further right now, but the problem is that the output of `prova5.rb` gets buffered. The `find` and everything else executes just fine. You can work around this problem by adding `$stdout.sync = true` at t...
-
02:54 PM Misc #11876: Scheduled maintenance 2016/01/01
- If you got like `svn: E155017: Checksum mismatch for '/XXXXXMakefile.in'`
Please run following instructions.
* svn update --set-depth empty
* remove your local changes
* svn update --set-depth infinity -
02:07 PM Revision 4d0e0a38 (git): id.h.tmpl: no optparse here
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:48 PM Bug #11930: Segmentation Fault in gc_mark_ptr in 2.3.0p0
- I think I'm getting the same crash in `gc_mark_ptr` with `ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-darwin15]` when using the pg 0.18.4 gem and activerecord 4.2.4:
```
(lldb) target create "/Users/felix/.rvm/rubies/ruby-2.3.0/... -
01:11 PM Bug #11946: Assertion failed: (!STR_EMBED_P(shared)), function str_new_frozen, file string.c, line 1075.
- Nobuyoshi Nakada wrote:
> Do you have short code to reproduce it, and what platform?
I do not have code to reproduce it but I'm trying to provide you with a snippet today.
The only thing I found out so far:
It happens in
~~... -
12:44 PM Revision 96acb6e3 (git): * ChangeLog: fix wrong class name.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:44 PM Revision e2191d4c (git): * test/ruby/test_string.rb(test_chr): added test for String#chr
- [fix GH-1179]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:32 PM Revision 2c62030c (git): * test/ruby/test_numeric.rb (test_nonzero_p): added test for String#nonzero?
- [fix GH-1187]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:26 PM Bug #11706: Clean up files etc/unicode/name2ctype.{h.blt,kwd,src}
- Yes sorry I mean Unicode 7.0.
The JRuby code is at https://github.com/jruby/jcodings/tree/master/scripts.
Ah sorry I misread `name2ctype.{h.blt,kwd,src}` as `name2ctype.{h,blt,kwd,src}`, so I see you aren't proposing removing the `... -
06:52 AM Bug #11706: Clean up files etc/unicode/name2ctype.{h.blt,kwd,src}
- Chris Seaton wrote:
> I've been dealing with an issue related to this. When Ruby updated to MRI 7.0
Do you mean Unicode 7.0?
> ...
What do you mean by "now"? What's your current revision/Ruby version? As for inconsistencies, I ind... -
11:59 AM Feature #11952: Use getrusage for Process.times if available
- Oops, my description is unexpectedly removed ...
I meant:
before: Process.times #=> #<struct Process::Tms utime=0.06, stime=0.02, cutime=0.02, cstime=0.03>
after: Process.times #=> #<struct Process::Tms utime=0.066553, st... -
11:56 AM Feature #11952 (Closed): Use getrusage for Process.times if available
- Since times(3) has poor precision, I want to use getrusage(2) for Process.times to get better precision if getrusage is available.
before: Process.times #=> #<struct Process::Tms utime=0.06, stime=0.02, cutime=0.02, cstime=0.03>
afte... -
07:35 AM Feature #11951 (Closed): `RubyVM::InstructionSequence.compile` should return the error message within the raised error
- When `RubyVM::InstructionSequence.compile` raises a syntax error, it outputs the syntax error message to `$stderr`, and then raises a `SyntaxError` anyway, whose message is simply: `"compile error"`.
I don't think this is useful. For ... -
06:09 AM Revision 8d666271 (git): leakchecker.rb: remove temporary measure
- * lib/webrick/utils.rb (WEBrick::Utils::TimeoutHandler#watcher):
make watcher thread restartable.
* lib/webrick/utils.rb (WEBrick::Utils::TimeoutHandler#terminate):
new method to terminate watcher thread.
* test/lib/leakchecker.rb ... -
02:47 AM Revision b01c28ee (git): Clarify object references example
- * doc/marshal.rdoc: Clarify object references example, that the
reference is same object. [Fix GH-1156]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:48 AM Revision fabb8b45 (git): enc/Makefile.in: get rid of nmake bug
- * enc/Makefile.in (ECHO1): expand NULLCMD by configured value to
get rid of a bug of nmake, that it can expand bare single name
variable but cannot in substition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53437 b2dd03c8-39d4... -
12:44 AM Bug #11950 (Closed): Please update the "stable" download link
- Thank you for your notification. I fixed it.
01/04/2016
-
08:48 PM Bug #11945: [PATCH] stringio: binmode sets encoding to ASCII-8BIT
- nobu@ruby-lang.org wrote:
> Good point.
> Just adjust the indent as the rest, please.
Thanks for the extra eyes, fixed up indent and committed r53435
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<ht... -
08:45 PM Bug #11945 (Closed): [PATCH] stringio: binmode sets encoding to ASCII-8BIT - Applied in changeset r53435.
----------
stringio: binmode sets encoding to ASCII-8BIT
This should match the behavior of IO#binmode as far
as treating content as ASCII-8BIT (binary).
* ext/stringio/stringio.c (strio_binmode): implement... -
12:31 PM Bug #11945 (Assigned): [PATCH] stringio: binmode sets encoding to ASCII-8BIT
- Good point.
Just adjust the indent as the rest, please. -
11:33 AM Bug #11945 (Closed): [PATCH] stringio: binmode sets encoding to ASCII-8BIT
- stringio: binmode sets encoding to ASCII-8BIT
This should match the behavior of IO#binmode as far
as treating content as ASCII-8BIT (binary).
- 08:45 PM Revision 02144c9f (git): * 2016-01-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:45 PM Revision dc59c768 (git): stringio: binmode sets encoding to ASCII-8BIT
- This should match the behavior of IO#binmode as far
as treating content as ASCII-8BIT (binary).
* ext/stringio/stringio.c (strio_binmode): implement to set encoding
* test/stringio/test_stringio.rb (test_binmode): new test
[ruby-core:... -
05:10 PM Bug #11946: Assertion failed: (!STR_EMBED_P(shared)), function str_new_frozen, file string.c, line 1075.
- I have the exact same problem and message. Wish I had more to add, but I don't. I came on to add an issue and saw Felix beat me to it. I'll follow this issue and participate as I can.
Rails 4.2.5
Ruby 2.3
OS X 10.11.2
Minitest 5.... -
02:34 PM Bug #11946: Assertion failed: (!STR_EMBED_P(shared)), function str_new_frozen, file string.c, line 1075.
- Do you have short code to reproduce it, and what platform?
Or if it is reproducible, then run that application from debugger.
`.gdbinit` for gdb is bundled with the source, break at the line and try `rp` macro to see the content of `or... -
01:34 PM Bug #11946 (Closed): Assertion failed: (!STR_EMBED_P(shared)), function str_new_frozen, file string.c, line 1075.
- Starting the Rails server or running specs for one of our applications results in:
~~~
Assertion failed: (!STR_EMBED_P(shared)), function str_new_frozen, file string.c, line 1075.
Abort trap: 6
~~~
Previous Ruby versions didn't ... -
04:28 PM Bug #11950 (Closed): Please update the "stable" download link
- The "stable" URL [1] still points to Ruby 2.2 while it should link to Ruby 2.3.
[1] http://ftp.ruby-lang.org/pub/ruby/stable/ -
04:22 PM Feature #11949 (Closed): Allow @/$ prefix in Regexp's named captures
- fluentd hits the problem that Regexp's named captures doesn't allow @ prefix.
https://github.com/treasure-data/omnibus-td-agent/issues/60
I assume this limitation is for auto variable assign feature.
http://ruby-doc.org/core-2.3... -
03:17 PM Bug #11948 (Rejected): Segfault on blank line in IRB
- Segfault on blank line in IRB
Running in Alpine Linux
~~~
bash-4.3# irb
irb(main):001:0>
irb(main):002:0*
/usr/lib/ruby/2.2.0/irb/input-method.rb:149: [BUG] Segmentation fault at 0x00000000000010
ruby 2.2.4p230 (2015-12-1... -
02:05 PM Bug #11947 (Closed): BigDecimal#coerce: unexpected behavior with Float
- I've noticed that:
~~~
BigDecimal('2') + 1 # => BigDecimal(3), OK
1 + BigDecimal('2') # => BigDecimal(3), OK
# whereas
BigDecimal('2') + 1.1 # => BigDecimal(3.1), OK
1.1 + BigDecimal('2') # => Float(3.1), WHY?
~~~
I was e... -
09:49 AM Feature #11939: Syntax sugar to apply a method replace a variable
- Nobuyoshi Nakada wrote:
> Maybe an op assign could be used with (1)?
> ...
That is interesting. It would be even more useful. -
09:30 AM Feature #11939: Syntax sugar to apply a method replace a variable
- According to ruby conventions shouldn't that be
var.some_method!(some_args) if some_condition.
Because you are modifying same object. Why do you need new feature? -
07:59 AM Revision 812c5798 (git): Revert r53431 "temporally revert r53411 to debug"
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:47 AM Revision 014d60ce (git): test_ostruct.rb: sort method names
- * test/ostruct/test_ostruct.rb (test_accessor_defines_method):
should not depend on the order of methods.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:27 AM Revision bae170f3 (git): common.mk: double quotes
- * common.mk (ext/socket/constdefs.c): use double quotes to get rid
of escape by caret in nmake.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:23 AM Revision 853cd402 (git): temporally revert r53411 to debug
- http://rubyci.s3.amazonaws.com/unstable11s/ruby-trunk/log/20151225T162507Z.diff.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:16 AM Revision 04a913f2 (git): common.mk: generate socket constdefs
- * common.mk (ext/socket/constdefs.c): generate platform
indenpendent constant definitions beforehand under the source
tree at updating the working copy.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53430 b2dd03c8-39d4-4d8f-98ff... - 07:08 AM Revision d5f4a2ba (git): variable.c (rb_mod_deprecate_constant): [DOC] added
- documentation for Module#deprecate_constant. [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:42 AM Bug #11849: Heredoc regression in 2.2.4
- Ref: https://github.com/whitequark/parser/issues/231#issuecomment-165921156
- 06:38 AM Revision 571fb5b6 (git): thread_sync.c: [DOC] remove SizedQueue#close argument. [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:12 AM Revision 1c8b8173 (git): * version.h (RUBY_BUILD_VERSION_STR_3): Workaround for old version of
- Fujitsu C Compiler (fcc) on Solaris. [Bug #11944] [ruby-dev:49468]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:12 AM Bug #11944 (Closed): ruby lib version (2.4.0) doesn't match executable version (RUBY_PROGRAM_VERSION_MAJOR.RUBY_PROGRAM_VERSION_MINOR.0) (RuntimeError)
- Applied in changeset r53427.
----------
* version.h (RUBY_BUILD_VERSION_STR_3): Workaround for old version of
Fujitsu C Compiler (fcc) on Solaris. [Bug #11944] [ruby-dev:49468] -
02:37 AM Bug #11944 (Assigned): ruby lib version (2.4.0) doesn't match executable version (RUBY_PROGRAM_VERSION_MAJOR.RUBY_PROGRAM_VERSION_MINOR.0) (RuntimeError)
- まさに今試してもらおうと思っていたパッチでした。
それでお願いします。 -
02:35 AM Bug #11944: ruby lib version (2.4.0) doesn't match executable version (RUBY_PROGRAM_VERSION_MAJOR.RUBY_PROGRAM_VERSION_MINOR.0) (RuntimeError)
- 以下のパッチでエラーが出なくなることは確認しました。
~~~diff
Index: version.h
===================================================================
--- version.h (revision 53426)
+++ version.h (working copy)
@@ -3,7 +3,7 @@
#define RUBY_PROGRAM_VERSIO... -
01:31 AM Bug #11944 (Closed): ruby lib version (2.4.0) doesn't match executable version (RUBY_PROGRAM_VERSION_MAJOR.RUBY_PROGRAM_VERSION_MINOR.0) (RuntimeError)
- おそらく r53314 以降、Solaris にて古い fcc (Fujitsu C Compiler) にて、
以下のエラーによりビルドに失敗します。
~~~
./miniruby -I./lib -I. -I.ext/common ./enc/make_encmake.rb --builtin-encs="enc/ascii.o enc/us_ascii.o enc/unicode.o enc/utf_8.o" --builtin-transes="en... -
01:50 AM Revision 8fe2421e (git): ChangeLog: remove unnecessary preposition [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:46 AM Revision 09ecfbf3 (git): ChangeLog: remove stale log [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:14 AM Revision acc472dd (git): * test/coverage/test_coverage.rb: ignored test when enabled to coverage.
- It lead to crash with `make test-all`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e