Activity
From 08/17/2014 to 08/23/2014
08/23/2014
-
11:51 PM Bug #10164: Reproducable segfault for 2.1
- I can reproduce only 2.1.2.
```
ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-darwin13.0]
die_ruby.rb:10: [BUG] Segmentation fault at 0x007fff52e49ff8
ruby 2.1.2p207 (2014-08-23 revision 47256) [x86_64-darwin13.0]
die_ruby.r... -
05:11 PM Bug #10164 (Closed): Reproducable segfault for 2.1
- Hi,
I have a snippet of code that crashes Ruby 2.1.{1,2} every time for me.
~~~
class Exception
def set_backtrace_with_extension
set_backtrace_without_extension(*args)
end
alias set_backtrace_without_extension set... -
09:48 PM Feature #10165: Use Process.clock_gettime to speed up Benchmark.realtime.
- I like this. The speedup is from reduction of allocations+GC
I think you need to fall back to CLOCK_REALTIME on systems w/o
CLOCK_MONOTONIC, though. Based on my reading of process.c,
CLOCK_REALTIME is always available. So someth... -
09:01 PM Feature #10165 (Closed): Use Process.clock_gettime to speed up Benchmark.realtime.
- This patch changes the Benchmark.realtime method to use the Process.clock_gettime internally when generating the time elapsed. Calling Process.clock_gettime is faster than the current way of creating Time objects.
I wrote a benchmark ... -
09:23 PM Bug #10166: Problem with openssl and ext/openssl - ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux]
- Ok, I recompiled ruby, and strangely enough, ext/openssl suddenly works.
Possibly it does something more than run extconf.rb or something, but it all works again now. -
09:07 PM Bug #10166: Problem with openssl and ext/openssl - ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux]
- Sorry for the strange last line, I did not intend to have python appear so big - the last line
was a set of = so I assume that the formatting automatically makes the last stuff appear
bold
============================================... -
09:05 PM Bug #10166 (Closed): Problem with openssl and ext/openssl - ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux]
- Hi guys,
Not sure if it is worth reporting but I guess it is better to
report twice than zero times, in the event someone else
already reported it.
I have compiled ruby from source lately.
The version is:
ruby 2.1.2p95 (... -
03:16 PM Bug #9092: Update Unicode data to Unicode Version 7.0
- This is just an additional comment for future reference:
The Unicode Consortium has announced
(http://unicode-inc.blogspot.ch/2014/08/new-publication-schedule-for-unicode.html) that it will publish new major versions of Unicode in Ju... -
01:32 PM Revision ccbeb0d6 (git): * win32/win32.c (cmdglob): use inline function.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:12 AM Feature #10098: [PATCH] Timing-safe string comparison for OpenSSL::HMAC
- Changelog:
* Renamed `rb_tsafe_eql` => `rb_consttime_memequal`.
* Renamed `rb_str_tsafe_eql` => `rb_str_consttime_bytes_eq`.
* Renamed `tsafe_eql?` => `consttime_bytes_eq?`.
* `rb_consttime_memequal` now has return type `int`.
* U... - 02:52 AM Revision e6983110 (git): * 2014-08-23
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:52 AM Revision e2418c39 (git): ruby.c: reduce RARRAY_PTR_USE region
- * ruby.c (process_options): reduce RARRAY_PTR_USE region, make the
path to be set before entering the region.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:33 AM Bug #10133: Bug in ruby
- What does "libsamplesize"?
FFI is not a magic that make you free from C.
It just eases memory management, data conversion, and etc.
You must be able to use functions properly in C first. -
01:22 AM Bug #10163 (Feedback): Error using spring/rails/rake
- 2.1.2 has been released, can you try with it or the trunk?
-
12:38 AM Bug #10161: C API docs not generated properly without baseruby
- As time.rb requires date.so, tool/vcs.rb couldn't work on miniruby, which can't load extension libraries.
Now tool/vcs.rb doesn't require time.rb, so tool/file2lastrev.rb works in pure ruby.
08/22/2014
-
06:24 PM Bug #10133: Bug in ruby
When I wrap my code by thread, it has trouble to finish. I only see the output
of "Started At ....", never get to see "End at ...".
~~~ruby
require 'fiddle/import'
module Libm
extend Fiddle::Importer
dlload '/Lib...-
05:50 PM Bug #10133: Bug in ruby
Thanks for trying to help.
Thread is new to me, I understand "Wrapping your code into Thread.new do your_code end.join" after read documentation about thread, but not sure what do you mean by "wrap it in a loop again"?-
05:39 PM Bug #10133: Bug in ruby
- Can you test script with threads? Wrapping your code into Thread.new do your_code end.join . And wrap it in a loop again.
-
02:00 PM Bug #10133: Bug in ruby
Where can I get help to fix this bug?-
05:50 PM Bug #10106: Segfault when refining BasicObject
- Backported into `ruby_2_1` branch at r47256.
-
05:49 PM Revision 80aa5ce5 (git): merge revision(s) r47037: [Backport #10106]
- * vm_insnhelper.c (vm_call_method): unusable super class should cause
method missing when BasicObject is refined but not been using.
[ruby-core:64166] [Bug #10106]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branche... -
05:38 PM Bug #10078: String#count() returns wrong count under specific conditions
- Backported into `ruby_2_1` branch at r47255.
-
05:37 PM Revision b4893fc3 (git): merge revision(s) r46896,r46897,r46898: [Backport #10078]
- * string.c (rb_str_count): fix wrong single-byte optimization.
7bit ascii can be a trailing byte in Shift_JIS.
[ruby-dev:48442] [Bug #10078]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@47255 b2dd03... -
04:00 PM Bug #10142: named params don't always capture passed named args
- First Last wrote:
> Koichi Sasada wrote:
> ...
Can you at least explain why this would not be better?
-
12:54 PM Bug #10161: C API docs not generated properly without baseruby
- Thanks for the quick fix. I was looking at the commit, and wondering, did something perhaps unrelated slip into the commit accidentally? Or maybe I'm just not understanding how the changes to tool/file2lastrev.rb and tool/vcs.rb are rela...
-
06:36 AM Bug #10161 (Closed): C API docs not generated properly without baseruby
- Applied in changeset r47248.
----------
tool/vcs.rb: no time.rb
* common.mk (Doxyfile): revert r43888, not to require preinstalled
ruby. [ruby-core:64488] [Bug #10161] -
12:06 PM Bug #10163 (Closed): Error using spring/rails/rake - Today, I runned a `spring rake` in Rails task and got the following error:
> ~~~
> ...
> /home/andrey/.rvm/rubies/ruby-2.1.1/lib/libruby.so.2.1(+0x1d9141) [0xb7672141] vm_e - 11:54 AM Revision 01606c71 (git): ChangeLog: Remove garbage introduced at r47253.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:24 AM Revision 7bfaa467 (git): * string.c (rb_fstring): fix condition (easy to cause infinite loop!).
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:16 AM Revision 32dcb81d (git): * string.c (rb_fstring, fstr_update_callback): simply delete garbage
- key first.
Garbage keys can be swept by lazy sweeping invoked by creating new
fstring. So that simply do:
(1) delete garbage key and return `fstr_update_callback' immediately
(2) try again `fstr_update_callback()' to create a ne... -
10:30 AM Revision 51c3acb6 (git): * test/ruby/test_complex.rb: removed commented-out code.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:28 AM Revision 8a29e5b4 (git): * test/ruby/test_complex.rb: fixed broken tests. Math is not
- compatible CMath now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:06 AM Bug #10162 (Closed): Error while installing ruby 2.1.2 on freebsd
- Below is error while doing make install.
rm -f probes.o
linking miniruby
/usr/bin/ld: probes.o: relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
probes.o: could not read symbols: Bad value
*... -
08:01 AM Revision 9261f25e (git): provide backward compatibilities
- * complex.c (Init_Complex): provide the feature for backward
compatibility.
* rational.c (Init_Rational): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:36 AM Revision f024d46f (git): tool/vcs.rb: no time.rb
- * common.mk (Doxyfile): revert r43888, not to require preinstalled
ruby. [ruby-core:64488] [Bug #10161]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:36 AM Revision 3229456d (git): rbinstall.rb: remove unused variable
- * tool/rbinstall.rb: $vcs is no longer used since r46513.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:32 AM Revision 4c91cbb9 (git): * lib/shell.rb: removed commented-out code.
- * lib/shell/builtin-command.rb: ditto.
* lib/shell/command-processor.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:21 AM Revision 6f74ab1d (git): * lib/complex.rb: removed deprecated library.
- * lib/rational.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:39 AM Revision faa92cde (git): * 2014-08-22
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:38 AM Revision a84821f8 (git): * lib/prettyprint.rb: removed PrettyPrint#first?
- because it is obsoleted method since Ruby 1.8.2
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
08/21/2014
-
09:58 PM Bug #9607: Change the full GC timing
- Thanks, I can confirm good results on 2.1.2!
-
09:15 AM Bug #9607: Change the full GC timing
- I checked benchmark results and no big regression are observed comapre with current edge of Ruby 2.1.
http://www.atdot.net/sp/raw/ywfnan (ruby_2_1a is same as ruby_2_1. to check accuracy (ideally, there should be no difference)).
I u... -
05:32 PM Bug #9559: build failure with clang 3.4
- Sorry, didn't see this comment until now. The patch is:
http://svnweb.freebsd.org/ports/head/lang/ruby21/files/patch-ext__dl__extconf.rb?revision=345917&view=co
That's the 2.1 version. Though perhaps it is already patched in trunk,... -
05:19 PM Bug #10135: Time.at is inaccurate
- John Smart wrote:
> I believe I have found an issue with Time.at. Many runtimes and DBs use milliseconds since epoch for recording time. Currently, the only way to generate a Time in ruby with milliseconds is:
> ...
Another (better) ... -
11:28 AM Bug #10135: Time.at is inaccurate
- 1381089302.195 cannot be represented in binary format.
AFAIK, it should be a spec by akr that `Time#strftime('%N')` truncates but doesn't round. -
02:59 PM Bug #10133: Bug in ruby
BTW, errmsg was set to a string with 70 empty spaces in both places, when I paste it in my previous post, it doesn't look well, so I edited it.-
02:54 PM Bug #10133: Bug in ruby
I used fiddle in my Ruby script and it works! but when I use it in the same way
on Ruby On Rails, it crashed. I pasted the codes below and you can see the codes
are exactly the same. I am not sure if it is fiddle.
Ruby script whi...-
05:03 AM Bug #10133 (Third Party's Issue): Bug in ruby
- Using fiddle?
Check if the arguments are correct, and the library works. -
01:50 PM Bug #10161 (Closed): C API docs not generated properly without baseruby
- In 1.9.x, the C API docs would be generated properly even if you didn't have ruby installed first. However, this has changed in 2.0.0 and 2.1.x.
Because lines 44-50 of configure.in expect baseruby to exist or set it to "echo executabl... -
01:10 PM Revision 34ec7c5b (git): win32/test_console_attr.rb: reset attributes
- * ext/-test-/win32/console/attribute.c (console_set_attribute):
set console attribute.
* test/-ext-/win32/test_console_attr.rb (reset): reset attributes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47242 b2dd03c8-39d4-4d8f-98ff... -
08:26 AM Feature #10090: Display of program name in process listing under AIX
- This is **absolutely** not a 3rd party issue if the setting of the process name worked as expected on AIX under Ruby 1.8.7 (and it does) and no longer works as expected on 1.9.0 and beyond. I don't understand why this has been moved to "...
-
08:10 AM Bug #10158 (Closed): Windowsにてエスケープシーケンスのreverse指定が正常に処理されない
- Applied in changeset r47241.
----------
win32.c: manage reverse video
* win32/win32.c (constat_attr): manage reverse video internally
since Windows console window does not manage it. based on the
patch by white leaf in [ruby-dev:4... -
08:10 AM Revision 43b00d8a (git): win32.c: manage reverse video
- * win32/win32.c (constat_attr): manage reverse video internally
since Windows console window does not manage it. based on the
patch by white leaf in [ruby-dev:48483]. [Bug #10158]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@... -
05:45 AM Revision 4d9de3db (git): * lib/e2mmap.rb: removed commented-out code.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:39 AM Revision 3118c4c4 (git): compar.c: use Module#to_s
- * compar.c (rb_cmperr): use Module#to_s so that names in a message
can be overridden by to_s.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:39 AM Revision dafeb23e (git): struct.c: no rb_class_real twice
- * struct.c (inspect_struct): as rb_obj_class() returns real class
name, so rb_class_name is not needed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:24 AM Revision 36ee0a83 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:23 AM Revision 59ca9465 (git): * lib/rinda/ring.rb: split executable code into sample directory.
- * sample/rinda-ring.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:23 AM Revision bff692b9 (git): * lib/drb/acl.rb: split executable code into sample directory.
- * sample/drb/acl.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:55 AM Revision 9cb4054c (git): * .gitignore: ignored temporary file for Changelog.
- http://mkosaki.blog46.fc2.com/blog-entry-1284.html
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:40 AM Revision 8759a731 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:40 AM Revision ef4c2572 (git): * lib/net/imap.rb: split executable code into sample directory.
- * sample/net-imap.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:24 AM Revision 2fbca477 (git): * 2014-08-21
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:24 AM Revision c6efc649 (git): * lib/net/imap.rb: removed commented-out code.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:15 AM Feature #10056: [PATCH 0/1]Add #adjugate method to matrix class
- Hello,
The patch seems fine to me.
I'd like to add some assertions for the testcase.
These are deribed from "Properties of Adjugate matrix" in Wikipedia. tanaka san, how about it?
## adj(I) = I
assert_equal(Matrix.identi...
08/20/2014
-
09:17 PM Bug #10159 (Closed): Ruby 2.x Syslog::Logger is newer than the one in Rubygems but version is the same
- Users of Ruby 2.x get the latest version of syslog/logger.rb as included from https://bugs.ruby-lang.org/issues/5096; however, the version of the gem is not updated to reflect that this new one has more features (for example, you can pas...
-
08:27 PM Bug #10158 (Closed): Windowsにてエスケープシーケンスのreverse指定が正常に処理されない
- Windows7上のcmd.exeでRuby2.2.0を実行した場合、reverse (ESC[7m) が正常に処理されない。
(2.0.0から継続してダメ)
サンプルコード
```ruby
# reverseの状態が維持されない
s = "\e[7mAA\e[1mBB\e[31mCC\e[7mDD\e[0m"
p s; puts s
# HOGEの文字にboldが反映されない
s = "\e[7;1;31m!?\e[41mHOGE\e[0m... -
07:48 PM Feature #9113: Ship Ruby for Linux with jemalloc out-of-the-box
- SASADA Koichi <ko1@atdot.net> wrote:
> Recently I'm working around this topic.
>
> (1) Life-time oriented, similar to Copying GC
> (2) CoW frindly (read only) memories
>
> More detail about (2):
> The following figure shows the... -
07:44 PM Bug #10133: Bug in ruby
Not sure if it is helpful, I attached the .crash file generated today in
Logs/DiagnosticReports folder.-
07:31 PM Bug #10133: Bug in ruby
- I tested my code in Ruby script and it works fine when I run the following in irb:
~~~ruby
load "calculateSamplesize.rb"
ss=Samplesize.new()
ss.compute()
~~~
I attached calculateSamplesize.rb and libsamplesize.dylib, it seems t... -
04:54 PM Bug #9717: [BUG] setup_arg: unknown node: NODE_DVAR
- r45542 and r45543 were backported into `ruby_2_1` branch at r47229.
-
04:52 PM Revision ff089f50 (git): merge revision(s) r45542,r45543: [Backport #9717]
- * gc.c (mark_current_machine_context): Call SET_STACK_END.
This reverts a hunk of r40703 by ko1.
This fixes [ruby-dev:48098] [Bug #9717].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@47229 b2dd03c8-... -
04:42 PM Bug #9682: [Doc] Improve Time.parse documentation (in lib/time)
- Backported into `ruby_2_1` branch at r47228.
-
04:42 PM Bug #9521: [Doc] Fix error in Time.parse documentation (in lib/time)
- Backported into `ruby_2_1` branch at r47228.
-
04:41 PM Revision 447e1c4d (git): merge revision(s) r45349,r45837,r45838: [Backport #9521] [Backport #9682]
- * lib/time.rb: [DOC] Fix timezone in example of Time.parse [Bug #9521]
Based on patch by @stomar
* lib/time.rb (Time.parse): [DOC] Fix an example in the documentation.
Reported by Marcus Stollsteimer.
... -
03:09 PM Bug #10157 (Rejected): Windowsにてエスケープシーケンスのunderscore指定が正常に動かない
- では閉じますです。
-
02:58 PM Bug #10157: Windowsにてエスケープシーケンスのunderscore指定が正常に動かない
- まさに外部のAnsicolor処理するプログラムが入ってました。昔入れっぱなしにして忘れていたようです…。
ということでこのチケットは問題なしということで終わりにさせていただきますが、
2.0から変わってないということで reverse ( ESC[7m ) がおかしいままなので、
もう少し調査してまた報告させていただきます。
2014年8月20日 22:57 <usa@garbagecollect.jp>:
> Issue #10157 ... -
01:57 PM Bug #10157: Windowsにてエスケープシーケンスのunderscore指定が正常に動かない
- うーん、手元の環境(Windows7 x64)では再現しません。
2.0.0とtrunkとのエスケープシーケンス処理の違いは、
「WriteConsoleW APIがフックされている時にrubyで処理するか否か」
の1点のみです。
何かその手のツールが入っていたりしませんか? -
01:27 PM Bug #10157 (Rejected): Windowsにてエスケープシーケンスのunderscore指定が正常に動かない
- Windows7上のRuby(trunk)にて、エスケープシーケンスの ESC[4m (underscore) を指定しても
下線がつかずに背景がグレーになります。
再現コード
puts "\e[4mHOGE\e[0m"
結果をテキストじゃ表現できないので画像で。
http://gyazo.com/768625ea6c7ed155029d5863022c48e0
少なくともRuby2.0では正常だったようです。
期待した出力はRuby2.0のよ... -
08:37 AM Revision 9b569069 (git): .travis.yml: remove generated directories
- * .travis.yml (before_script): remove directories generated
previously.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:27 AM Bug #10156 (Closed): Underquoted definition warning in configure.in
- Applied in changeset r47226.
----------
configure.in: quote defun names
* configure.in (RUBY_TRY_CFLAGS, RUBY_TRY_LDFLAGS),
(RUBY_CHECK_BUILTIN_SETJMP, RUBY_SETJMP_TYPE),
(RUBY_STACK_GROW_DIRECTION): quote defun names, for some
v... -
08:15 AM Bug #10156 (Feedback): Underquoted definition warning in configure.in
- What version do you use?
Autoconf 2.69 doesn't show that warning. -
05:14 AM Bug #10156: Underquoted definition warning in configure.in
- Looking for usages, I found:
~~~
configure.in:AC_DEFUN([RUBY_PREREQ_AC],
configure.in:AC_DEFUN([RUBY_RM_RECURSIVE], [
configure.in:AC_DEFUN([RUBY_MINGW32],
configure.in:AC_DEFUN([RUBY_NACL],
configure.in:AC_DEFUN([RUBY_NACL_CHECK... -
05:11 AM Bug #10156 (Closed): Underquoted definition warning in configure.in
- Hello,
I'm getting this warning when compiling ruby:
~~~
configure.in:696: warning: underquoted definition of RUBY_TRY_CFLAGS
~~~
Which contains:
~~~
695
696 AC_DEFUN(RUBY_TRY_CFLAGS, [
697 AC_MSG_CHECKING([wheth... -
08:27 AM Revision 86c72d1a (git): configure.in: quote defun names
- * configure.in (RUBY_TRY_CFLAGS, RUBY_TRY_LDFLAGS),
(RUBY_CHECK_BUILTIN_SETJMP, RUBY_SETJMP_TYPE),
(RUBY_STACK_GROW_DIRECTION): quote defun names, for some
versions of autoconf possibly. [ruby-core:64473] [Bug #10156]
git-svn-id:... -
04:52 AM Feature #10095: Object#as
- Since it's a core language extension, it might as well be a syntax extension, something like:
```ruby
(2+3).~> {|e| e+2}.~> {|num| Mail.find(num)}.~>{|mail| Messager.send mail }
```
and maybe a shortcut optional version for that ... -
02:34 AM Bug #10155 (Closed): lib/shellwords.rb: proofreading documentation
- Cleans up a little of the grammar in lib/shellwords.rb.
-
01:43 AM Bug #10154 (Third Party's Issue): Ruby Segmentation Fault
- Seems a bug in gosu gem.
-
01:28 AM Bug #10154 (Third Party's Issue): Ruby Segmentation Fault
- I was working with the Gosu gem, and I started making a game with it. Half the time when I quit the game, Ruby crashes and gives me this error:
~~~
./start: [BUG] Segmentation fault at 0x00000000000010
ruby 2.1.2p95 (2014-05-08 revi... -
01:41 AM Feature #10152: String#strip doesn't remove non-breaking space
- Current Ruby does not support non ASCII spaces. Maybe 2.2+ would.
Matz.
- 01:33 AM Revision 8e274670 (git): * 2014-08-20
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:33 AM Revision 776e96d1 (git): test_thread.rb: let main thread exit from Thread.new
- * test/ruby/test_thread.rb (test_main_thread_status_at_exit): let
the main thread run to ensure exiting from Thread.new.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
08/19/2014
-
04:02 PM Bug #10153 (Closed): File.open block does not throw "No space left on device (Errno::ENOSPC)" if the data fits the buffer of IO.write
- When writing to file in disk using File.open with a block as an argument, if the diskspace is full and IO.write does not flush right away, the block just exits successfully instead of throwing Errno:ENOSPC.
Setup: Drive partition ne... -
03:20 PM Feature #10152 (Open): String#strip doesn't remove non-breaking space - String#strip doesn't remove non-breaking space.
~~~ruby
2.1.2 :001 > "\u00A0".strip
=> " "
~~~ -
03:05 PM Bug #8716: segmation fault 正規表現で大量のグループを利用時
- r47223 で `ruby_2_1` ブランチに r46831 から抽出して頂いた関連コミットの部分をバックポートしました。
関連する変更点を提示して頂いて大変助かりました、ありがとうございます。 -
03:03 PM Revision c3fd3191 (git): merge r46831 partially. extracted commits are as follows.
- https://github.com/k-takata/Onigmo/commit/b9fba1dc63ccb42a86e934011b468e6022fabb74
https://github.com/k-takata/Onigmo/commit/c1fc76b9bd463948ffc5058bc352bf93732f0314
https://github.com/k-takata/Onigmo/commit/a0efc0a200f7108ca3d5ac3039c8f... -
01:28 PM Bug #10151 (Closed): Weird result when % formatting a Rational value
- Applied in changeset r47222.
----------
sprintf.c: fix condition
* sprintf.c (rb_str_format): fix condition to round.
[ruby-core:64454] [Bug #10151] -
12:32 PM Bug #10151: Weird result when % formatting a Rational value
- Maybe broken yesterday somewhere around here? https://github.com/ruby/ruby/commit/1d196e0d2bd99590d03a73d7e59aa87f7266f8e3
-
11:01 AM Bug #10151 (Closed): Weird result when % formatting a Rational value
- Getting a strange output when formatting a Rational value in trunk.
% ruby -v -e 'p "%.1f" % 1.2r'
ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-darwin13.0]
"1.2"
% ruby -v -e 'p "%.1f" % 1.2r'
ruby 2.2.0dev (2014-08-19 tru... -
01:28 PM Revision 28dd6160 (git): sprintf.c: fix condition
- * sprintf.c (rb_str_format): fix condition to round.
[ruby-core:64454] [Bug #10151]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:22 PM Bug #10149 (Closed): Some characters in EUC-KR does not encode to UTF-8 properly
- Applied in changeset r47221.
----------
euckr-tbl.rb: euro and registered signs
* enc/trans/euckr-tbl.rb (EUCKR_TO_UCS_TBL): add missing euro and
registered signs. [ruby-core:64452] [Bug #10149] -
09:58 AM Bug #10149 (Closed): Some characters in EUC-KR does not encode to UTF-8 properly
- This bug is confirmed on 2.1.2p95
There are (at least) two valid euc-kr characters that do not get converted to utf-8 properly
**1. "\xA2\xE6" should convert to U+20AC (Euro Sign)**
Current behavior:
~~~ruby
irb(main):001:0> "\x... -
01:22 PM Revision f587347c (git): euckr-tbl.rb: euro and registered signs
- * enc/trans/euckr-tbl.rb (EUCKR_TO_UCS_TBL): add missing euro and
registered signs. [ruby-core:64452] [Bug #10149]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:00 PM Feature #10095: Object#as
- I agree with Rafael, `#itself` isn't the right method.
It reminds me of `#send` more than anything else.
(2 + 3).send{ |x| x + 2 }
-
12:54 PM Bug #10147: URI parsing with ruby 2.2.0dev
- URI module is now using an RFC3986 parser by default (starting r46491), '[' and ']' characters are not allowed in a URI's query per the RFC.
You can still use the old parser (RFC2396) like this
~~~ruby
require 'uri'
p = URI::Pars... -
10:02 AM Bug #10150 (Closed): Tiny URI.parse error incompatibility
- When giving URI.parse an object that does't respond_to #to_str, Ruby 2.1 raises URI::InvalidURIError, whereas 2.2 raises NoMethodError.
Is this change intentional?
% ruby -v -ruri -e "p URI.parse(1)"
ruby 2.1.2p95 (2014-05-08 revisi... -
09:28 AM Bug #10148 (Closed): [TracePoint API] Extra block events generated
- In the same example from #9759 (which I attach here to provide a failing test), there is a couple of b_call/b_return events that I don't think should get generated. I pointed that out in this comment: https://bugs.ruby-lang.org/issues/97...
-
04:59 AM Revision 40db3d97 (git): compar.c: preserve encodings
- * compar.c (rb_cmperr): preserve encodings of arguments in the
message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:29 AM Revision f9b7a2a3 (git): win32ole.c: check overflow
- * ext/win32ole/win32ole.c (ole_invoke): check integer overflow on
win64 platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:13 AM Bug #10062 (Closed): Segfault involving Queue
- Applied in changeset r47217.
----------
thread.c: check initialized
* ext/thread/thread.c (get_array): check instance variables are
initialized properly. [ruby-core:63826][Bug #10062] -
12:50 AM Bug #10062: Segfault involving Queue
- Seems the `Queue` instance is not initialized properly.
Probably, `Queue#initialize` is overridden somewhere?
~~~
$ ruby -rthread -e 'class Thread::Queue; def initialize;end;end;q=Thread::Queue.new;q.push(nil)'
-e:1: [BUG] Segmenta... - 01:13 AM Revision b38142e9 (git): * 2014-08-19
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:13 AM Revision a198bb39 (git): thread.c: check initialized
- * ext/thread/thread.c (get_array): check instance variables are
initialized properly. [ruby-core:63826][Bug #10062]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
08/18/2014
-
09:22 PM Bug #10133: Bug in ruby
- The top stack frame shows Rails ActionDispatch middleware. This line is identified:
https://github.com/rails/rails/blob/4-1-2/actionpack/lib/action_dispatch/middleware/cookies.rb#L571
It might help to test your code in a standalone... -
08:42 PM Bug #10133: Bug in ruby
- I tried 2.2.0-dev version and still same error.
-
06:25 PM Bug #10133: Bug in ruby
- I use rbenv to manage ruby versions, I did rbenv install --list, the latest stable version is 2.1.1, I installed it and it doesn't help, same bug. I wonder if there is a stack size or memory limitation in Ruby On Rails for running extern...
-
02:39 PM Bug #9966: Encoding.find(symbol)の動作がrdocと異なる
- And already backported into `ruby_2_0_0` branch at r46670.
-
02:39 PM Bug #9966: Encoding.find(symbol)の動作がrdocと異なる
- Backported into `ruby_2_1` branch at r47216.
-
02:38 PM Revision 661148ad (git): merge revision(s) r46481: [Backport #9966]
- * encoding.c (enc_find): [DOC] never accepted a symbol.
[ruby-dev:48308] [Bug #9966]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@47216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:36 PM Bug #9934: High memory usage from file_expand_path_*
- r46408, r46410, r46413, r46414, r46424, r46436, r46437 and partially r44827 (to resolve conflict of r46408) were backported into `ruby_2_1` branch at r47215.
-
02:34 PM Revision 9355bcad (git): merge revision(s) r46408,r46410,r46413,r46414,r46424,r46436,r46437: [Backport #9934]
- string.c: shrink too big buffer
* string.c (rb_str_resize): shrink the buffer even if new length
is same but it is enough smaller than the capacity.
* file.c (expand_path): shrink expanded path which no longer needs
... -
02:34 PM Bug #10147 (Closed): URI parsing with ruby 2.2.0dev
- Hi,
the following uris can't be parsed any more (ruby: ruby 2.2.0dev (2014-08-18 trunk 47214) [x86_64-darwin13])
`
require 'uri'
URI('//example.org/nested_optional_group?items[][key]=foo')
URI('//example.org/nested_optional_gr... -
01:34 PM Bug #9036: [PATCH] io.c: make IO#reopen("pathname") atomic for non-stdio
- r43373 was already included in ruby_2.1.
-
01:23 PM Bug #10062 (Feedback): Segfault involving Queue
- Does anyone can reproduce this?
-
08:07 AM Bug #10136 (Closed): printf("%.60f\n", 0.1r) shows 0.100000000000000005551115123125782702118158340454101562500000
- Applied in changeset r47214.
----------
sprintf.c: rational 'f' format
* sprintf.c (rb_str_format): support rational 'f' format.
[ruby-core:64382] [Bug #10136] -
08:06 AM Revision 1d196e0d (git): sprintf.c: rational 'f' format
- * sprintf.c (rb_str_format): support rational 'f' format.
[ruby-core:64382] [Bug #10136]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:06 AM Revision 22892ca6 (git): sprintf.c: remove magic numbers
- * sprintf.c (rb_str_format): name default float precision and
remove unused initial value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:04 AM Revision 17677647 (git): test_time_tz.rb: has_lisbon_tz
- * test/ruby/test_time_tz.rb (has_lisbon_tz): separate from
has_right_tz.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
08/17/2014
-
11:10 PM Bug #10009: IO operation is 10x slower in multi-thread environment
- Some tests adapted from glibc:
git clone git://80x24.org/rb_futex_test
tst-cond18-f/p are micro benchmarks, -f (futex version) is roughly
twice a fast as the -p (pthreads version); but that doesn't seem
to translate to noticeab... - 11:04 PM Revision 52e0f11b (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:04 PM Revision 0a7a0137 (git): * 2014-08-18
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:04 PM Revision 70ea6d28 (git): * spec/default.mspec: use 2.2 definition.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:50 PM Bug #10146 (Assigned): DateTime#jisx0301 returns corrupted string when GC.stress is set to true.
- LGTM
-
05:01 PM Bug #10146 (Closed): DateTime#jisx0301 returns corrupted string when GC.stress is set to true.
- `DateTime#jisx0301` returns corrupted string when `GC.stress` is set to true.
**Sample script to reproduce this issue:**
~~~ruby
# sample.rb
require("date")
GC.stress = true
p DateTime.parse('2001-02-03T04:05:06.123456789+07:... -
03:14 PM Bug #10143 (Assigned): JSON module does not conform to RFC 7159
-
10:51 AM Revision 6bce41b3 (git): * gc.c (obj_memsize_of): don't calculate memsize of T_NODE
- when called from check_gen_consistency. It fixes segmentation
fault on RGENGC_CHECK_MODE >= 1 introduced by r47188.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:10 AM Revision b62ce0e9 (git): * ext/win32ole/win32ole.c (ole_invoke): use RHASH_SIZE instead of
- calling Hash#length method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:55 AM Feature #10137: Introducing Incremental GC algorithm
- FYI: here is a top slow tests with data.
http://www.atdot.net/fp_store/f.zdsfan/file.copipa-temp-image.png
Typically, GC.start slows down.
-
05:28 AM Feature #10137: Introducing Incremental GC algorithm
- I had accidentally added GC.verify_internal_consistency method for each
test case (in after_tear_down.
After remove it,
trunk : 798.756056s
before removal: 1981.145346s
after removal : 845.399831s
Not so bad.
-
02:55 AM Feature #10137: Introducing Incremental GC algorithm
- I evaluated running time for test-all.
ref. https://twitter.com/k_tsj/status/500523453028388864
rincgc branch seems 2 times slower than trunk when sequential running.
I tested 3 times. it's same results.
### trunk
ruby -v: r... -
04:36 AM Bug #10142: named params don't always capture passed named args
- Koichi Sasada wrote:
> Sorry I missed this line.
> ...
having never studied the actual implementation, this is as concrete as I can make it
"before keyword args are packaged into a hash which is bound to a mandatory param, actual fi... -
04:15 AM Bug #10142: named params don't always capture passed named args
- Sorry I missed this line.
> in this specific example, key arg b would be bound to key param b, and the remaining key arg c would be put into a hash which would be bound to mandatory param a
Your proposal is to check keyword argumen... -
04:10 AM Bug #10142: named params don't always capture passed named args
- (2014/08/17 12:57), meanlogin@gmail.com wrote:
> I already stated what I think would make more sense:
I understand that you are surprising.
I agree about this surprize.
But I can't find any concrete proposal.
--
// SASADA K... -
03:57 AM Bug #10142: named params don't always capture passed named args
- Koichi Sasada wrote:
> (2014/08/16 12:49), meanlogin@gmail.com wrote:
> ...
I already stated what I think would make more sense:
before keyword args are packaged into a hash which is bound to a mandatory param, actual first class ke... -
02:58 AM Bug #10142: named params don't always capture passed named args
- (2014/08/16 12:49), meanlogin@gmail.com wrote:
> this example is particularly illustrative, it's absurd to complain about missing keyword b when the method is being passed keyword b
What kind of message do you expect?
--
// SAS... -
12:51 AM Bug #10145 (Closed): win32/configure.bat should have CRLF eol-style.
-
12:51 AM Bug #10145 (Open): win32/configure.bat should have CRLF eol-style.
- Thank you for the clarification.
- 12:50 AM Revision 5a2c3ae8 (git): * 2014-08-17
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:50 AM Revision 8ac65c46 (git): win32/configure.bat: fix eol-style
- * win32/configure.bat: reset svn:eol-style to CRLF, and revert
r47015. r47017 just reverted the contents but did not reset it.
`svn export` converts CRLF to LF due to this property.
[ruby-core:64414] [Bug #10145]
git-svn-id: svn...