Activity
From 08/13/2014 to 08/19/2014
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...
08/16/2014
-
05:50 PM Bug #10009: IO operation is 10x slower in multi-thread environment
- I added in the uname test script for details kernel / platform
Follow the accompanying tests
tests (test_thread_sche.rb --postgres) in debian-kfreebsd-amd64
ruby 1.9.2
name...........: 9.0-2-amd64 x86_64
processor......: Intel(R... -
03:55 PM Bug #10009: IO operation is 10x slower in multi-thread environment
- I rewrote the test, I created the --tasket --postgres arguments and to use the same test file.
Feel free to change whatever you want.
Soon bring news about the test with futex -
08:38 AM Bug #10009: IO operation is 10x slower in multi-thread environment
- normalperson@yhbt.net wrote:
> I doubt I can noticeably improve performance with futexes vs mutex/condvar.
Totally not-speed-optimized futex-based lock/condvar implementation at
git://bogomips.org/ruby.git (futex branch)
http:... -
02:29 PM Revision f4c83785 (git): fix typos [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:05 PM Bug #10145: win32/configure.bat should have CRLF eol-style.
- Nobuyoshi Nakada wrote:
> Masamitsu Murase wrote:
> ...
I understood the current situation.
r47017 changed eol-style of configure.bat to CRLF from LF, but configure.bat still has "LF" as "svn:eol-style" attribute.
As a result,
... -
12:34 PM Bug #10145: win32/configure.bat should have CRLF eol-style.
- I'm sorry for confusing you.
I mean that changes for configure.bat in r47015 should be reverted.
(r47017 reverted r47016, not r47015.)
r47015 changed eol-style to LF from CRLF.
This change should be reverted so that cmd.exe can p... -
11:47 AM Bug #10145 (Rejected): win32/configure.bat should have CRLF eol-style.
- Masamitsu Murase wrote:
> win32/configure.bat does not parse command line arguments correctly with revision 47015 and later.
Reverted by r47017. -
07:54 AM Bug #10145 (Closed): win32/configure.bat should have CRLF eol-style.
- win32/configure.bat does not parse command line arguments correctly with revision 47015 and later.
For example, "win32\configure.bat --disable-install-doc --prefix=D:\test" outputs invalid "prefix" definition in Makefile.
It seems ... -
10:34 AM Revision bd6e27dc (git): * ext/win32ole/win32ole_event.c (evs_length): use RARRAY_LEN instead
- of calling Array#length method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:22 AM Revision 2fd7e292 (git): test_ruby_mode.rb: trivial refinement
- * test/misc/test_ruby_mode.rb (run_emacs): ensure to remove a
temporary file.
* test/misc/test_ruby_mode.rb (assert_indent): show diff between
expected and actual results.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47202 b2d... -
04:49 AM Revision 4c7038c1 (git): test_gem_ext_builder.rb: fix wrong skip condition
- * test/rubygems/test_gem_ext_builder.rb (test_build_extensions_extconf_bad):
fix wrong skip condition by removing wrong expace, String#include?
does not turn a string argument into a regexp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru... -
03:56 AM Revision d0f71e50 (git): rake/backtrace.rb: exclude mere prefix
- * lib/rake/backtrace.rb (Rake::Backtrace): exclude mere prefix and
exec_prefix, which match too much.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:49 AM Bug #10142: named params don't always capture passed named args
- First Last wrote:
> Nobuyoshi Nakada wrote:
> ...
this example is particularly illustrative, it's absurd to complain about missing keyword b when the method is being passed keyword b
-
03:45 AM Bug #10142: named params don't always capture passed named args
- Nobuyoshi Nakada wrote:
> Mandatory arguments have priority over keywords arguments.
instead of just restating what is, why don't you say why it should be this way.
before keyword args existed as first class citizens, it made sens... -
03:18 AM Bug #10142 (Rejected): named params don't always capture passed named args
- Mandatory arguments have priority over keywords arguments.
-
03:48 AM Revision 04408eae (git): rake/backtrace.rb: remove wrong value
- * lib/rake/backtrace.rb (Rake::Backtrace::SYS_KEYS): only names
end with prefix or libdir, not just include them. libdirname is
not a key of path name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47199 b2dd03c8-39d4-4d8f-98ff... -
03:36 AM Revision 3636e088 (git): string.c: rb_setup_fake_str
- * string.c (rb_setup_fake_str): setup fake string from C pointer,
length, and encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:45 AM Bug #10141 (Feedback): cannot start rails
- Please attach crash report file.
I suspect the usual rvm's issue. -
02:28 AM Bug #10133 (Feedback): Bug in ruby
- 2.1.0 is too old, can't you try with 2.1.2?
-
01:53 AM Revision a669514e (git): node.h: extract NODE functions from gc.c
- * node.h (rb_gc_free_node, rb_node_memsize, rb_gc_mark_node):
extract functions for NODE from obj_free(), obj_memsize_of(),
gc_mark_children() in gc.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47197 b2dd03c8-39d4-4d8f-98ff-... -
01:27 AM Bug #10144 (Closed): [PATCH] time_timespec: fix tv_nsec overflow on float conversion - Applied in changeset r47196.
----------
time.c (time_timespec): fix tv_nsec overflow
test/ruby/test_float.rb (test_sleep_with_Float) causes tv_nsec
to hit 1000000000 exactly. This bug is currently hidden from
our test by the platform-... -
01:19 AM Bug #10144 (Closed): [PATCH] time_timespec: fix tv_nsec overflow on float conversion
- test/ruby/test_float.rb (test_sleep_with_Float) causes tv_nsec
to hit 1000000000 exactly. This bug is currently hidden from
our test by the platform-dependent native_cond_timeout
functions, but a future native_cond_timedwait implemen... - 01:27 AM Revision ed2e8b2e (git): time.c (time_timespec): fix tv_nsec overflow
- test/ruby/test_float.rb (test_sleep_with_Float) causes tv_nsec
to hit 1000000000 exactly. This bug is currently hidden from
our test by the platform-dependent native_cond_timeout
functions, but a future native_cond_timedwait implementat... -
01:25 AM Bug #10111: gdbm truncated UTF-8 data problem
- The data is not truncated but has a different encoding (as nobu pointed at first).
```
% cat t.gdbm.rb
# coding: utf-8
require 'gdbm'
data = "\xEA\xB0\x80ABCDEF"
db = GDBM.new( 'test.db', 0666 )
db['key'] = data
p [db['key'... - 12:55 AM Revision e51a5590 (git): * 2014-08-16
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:55 AM Revision 8f98ee19 (git): ChangeLog: fix name
- * ChangeLog: fix newly added function name. [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
08/15/2014
-
11:32 PM Bug #10143 (Third Party's Issue): JSON module does not conform to RFC 7159
- From RFC 7159: http://tools.ietf.org/html/rfc7159
~~~
A JSON text is a serialized value. Note that certain previous
specifications of JSON constrained a JSON text to be an object or an
array.
~~~
This means that the fol... -
10:28 PM Bug #10132: unpack() ignores default encoding when generating strings, always uses ASCII-8BIT
- Now that I read [the documentation on encodings](http://ruby-doc.org/core-2.0/Encoding.html) more carefully, I think the real problem is more fundamental: `__ENCODING__` doesn't determine the encoding of *all* created strings; it only af...
-
10:13 PM Bug #10132: unpack() ignores default encoding when generating strings, always uses ASCII-8BIT
- The Ruby documentation says:
M | **String** | quoted printable, MIME encoding (see RFC2045)
And [RFC 2045](http://tools.ietf.org/html/rfc2045) section 6.7 says:
> The Quoted-Printable encoding is intended to represent data th... -
12:18 AM Bug #10132 (Rejected): unpack() ignores default encoding when generating strings, always uses ASCII-8BIT
- `pack("M*")` (and `pack("C*")`) are for binary data primarily.
-
09:20 PM Feature #8515: don't allow irb to dump output for forever and ever
- pry's pager is very cool, but it seems that it needs to build the whole string output before it gets echoed back to the screen using `less`. Maybe something better could be done for that within irb by "streaming" the output buffer?
-
02:34 AM Feature #8515 (Feedback): don't allow irb to dump output for forever and ever
-
07:44 PM Bug #10142 (Rejected): named params don't always capture passed named args
- ~~~ruby
irb(main):007:0> def foo(a, b: nil); [a, b] end
:foo
irb(main):008:0> foo b: 1
[
[0] {
:b => 1
},
[1] nil
]
~~~
______________________________
would be better if this raised -
06:53 PM Bug #10141 (Closed): cannot start rails
- Crash on installation:
Users/bgoleman/.rvm/gems/ruby-2.1.2/gems/sqlite3-1.3.9/lib/sqlite3/sqlite3_native.bundle: [BUG] Segmentation fault at 0x00000000000418
ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-darwin13.0] -
06:28 PM Bug #10133: Bug in ruby
~/Library/Logs/DiagnosticReports is empty.
Couldn't find ~/Library/Logs/CrashReporter
Couldn't find /Library/Logs/CrashReporter
I compressed /Library/Logs/DiagnosticReports and attached,
but most files are not related, the related...-
04:36 PM Bug #10133: Bug in ruby
- At first, could you send CrashReport file?
See Crash Report log file under the one of following:
* ~/Library/Logs/CrashReporter
* /Library/Logs/CrashReporter
* ~/Library/Logs/DiagnosticReports
* /Library/Log... -
01:34 PM Bug #10133: Bug in ruby
I will be happy to send .dylib and ruby code which calls it if needed.
Thanks!
-
05:02 PM Feature #10129: More descriptive error message for failed net/http requests
- Nobuyoshi Nakada wrote:
> Shouldn't `Socket` methods raise more descriptive messages?
> ...
example domain should use *.invalid
http://tools.ietf.org/html/rfc2606 -
12:38 AM Feature #10129: More descriptive error message for failed net/http requests
- nobu@ruby-lang.org wrote:
> Shouldn't `Socket` methods raise more descriptive messages?
>
> https://github.com/nobu/ruby/compare/socket-error-message
Yes. I think the EAI_SYSTEM case should also include host/port in the
error m... -
04:30 PM Feature #10138: Access monotonic counter in Time
- Yui NARUSE wrote:
> Aki Tuomi wrote:
> ...
So it would indeed seem, although I could not see Win32 listed as supported for CLOCK_MONOTONIC, but this could be just my misunderstanding. Thank you for the fast reply anyways! -
04:13 PM Feature #10138 (Rejected): Access monotonic counter in Time
- Aki Tuomi wrote:
> Eric Wong wrote:
> ...
Process.clock_gettime already have compatibility layer for OS X and Windows.
Therefore Process.clock_gettime(Process::CLOCK_MONOTONIC) is portable -
10:00 AM Feature #10138: Access monotonic counter in Time
- Eric Wong wrote:
> cmouse@cmouse.fi wrote:
> ...
Not sure. It is not same as clock_gettime, which accepts parameters and such, and it is not clock_gettime across operating systems.
Also, the point of this patch is to enable access ... -
09:59 AM Feature #10138: Access monotonic counter in Time
- cmouse@cmouse.fi wrote:
> time-s-monotonic.patch (2.07 KB)
It might be better to put the OS compatibility code in the existing
Process.clock_gettime implementation -
09:23 AM Feature #10138 (Rejected): Access monotonic counter in Time
- Provide API access to guaranteed monotonic counter on underlying operating system. Supports Windows XP and later, OS/X, any linux with clock_gettime.
- 11:36 AM Revision da7e13a0 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:36 AM Revision cd3d7fe8 (git): * ext/win32ole/win32ole.c: seperate WIN32OLE_EVENT src from
- win32ole.c.
* ext/win32ole/win32ole.h: ditto.
* ext/win32ole/win32ole_event.c: ditto.
* ext/win32ole/win32ole_event.h: ditto.
* ext/win32ole/depend: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47192 b2dd03c8-39d4-4d8f-98ff... -
10:39 AM Revision 3e759ed7 (git): * iseq.c (rb_iseq_clone): Should not insert write barrier from
- non-RVALUE data (to non-RVALUE data, of course).
Ruby 2.1 also has a same problem.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:37 AM Revision 6f7366c2 (git): * string.c (setup_fake_str): fake strings should not set class by
- RBASIC_SET_CLASS() because it insert write barriers to fake
(non-RVALUE) structure.
It can cause unexpected behaviour.
Ruby 2.1 also have a same problem (setup_fake_str() in parse.y).
* symbol.c (setup_fake_str): ditto.
git-svn-... -
10:32 AM Revision b5e89e44 (git): * array.c (rb_ary_tmp_new): added.
- This function creates internal use only array (which is completely
hided by ObjectSpace.each_object) with filling nil.
Otherwise, it can be incldues strange VALUEs.
* internal.h: added.
* node.h: use rb_ary_tmp_new_fill() for MEMO.
... -
06:01 AM Feature #10137: Introducing Incremental GC algorithm
- Add an abstract section.
-
05:57 AM Feature #10137 (Closed): Introducing Incremental GC algorithm
- # Abstract
Introduce *incremental GC* algorithm to reduce pause time of major/full
GC. This ticket includes design and implementation note and a working
patch.
# Background and problem
Ruby 2.1 uses generational GC algorithm... -
03:00 AM Revision 85691b95 (git): gc.c: memsize of T_NODE
- * gc.c (obj_memsize_of): fix size of T_NODE and comments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:52 AM Bug #10136 (Closed): printf("%.60f\n", 0.1r) shows 0.100000000000000005551115123125782702118158340454101562500000
- printf shows 0.1r (rational) not 0.1 as follows.
```
% ./ruby -ve 'printf "%.60f\n", 0.1r'
ruby 2.2.0dev (2014-08-15 trunk 47187) [x86_64-linux]
0.100000000000000005551115123125782702118158340454101562500000
```
It seems printf... -
02:22 AM Bug #8411 (Rejected): Wrong value returned when arity called on a method created through define_method with default arguments
- this issue is affected only Ruby 1.9.
```
ruby 1.9.3p547 (2014-05-14) [x86_64-darwin13.4.0]
-1
0
ruby 2.0.0p531 (2014-07-07 revision 46748) [x86_64-darwin13.4.0]
-1
-1
ruby 2.1.2p200 (2014-08-11 revision 47141) [x86_64-darw... -
02:06 AM Bug #8230 (Rejected): Segmentation fault: at_exit
- Ruby 1.9.3 is now in the security maintenance phase.
-
01:59 AM Feature #7998 (Closed): "def" should return a value (the symbol of the method name) instead of nil
- def method return symbol on Ruby 2.1 or later.
-
01:49 AM Bug #9660 (Closed): test/unit, minitest & bundler
- fixed at r45970
-
01:21 AM Feature #5480 (Closed): remove GServer from stdlib
- Applied in changeset r47187.
----------
* lib/gserver.rb: removed unmaintained code.
[ruby-core:40313][Feature #5480]
* lib/xmlrpc/httpserver.rb: ditto. -
01:21 AM Revision e5c9e568 (git): * lib/gserver.rb: removed unmaintained code.
- [ruby-core:40313][Feature #5480]
* lib/xmlrpc/httpserver.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:49 AM Bug #10135: Time.at is inaccurate
- I didn't know this before, but I investigated this and see Time.at
may take a second argument for microseconds. You may try:
Time.at(seconds, microseconds_with_frac) -> time
n = 1381089302195
p Time.at(n / 1000, (n % 1000) * 1... -
12:48 AM Bug #10135: Time.at is inaccurate
- Your way of presentation may not be clear. I suppose the division is irrelevant here. Your point seems to be that while `to_f` is idempotent with:
~~~ruby
1381089302.195.to_f
#=> 1381089302.195
~~~
the float stored by `T... -
12:30 AM Bug #10135 (Rejected): Time.at is inaccurate
- 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:
~~~
Time.at(milliseconds / 1000.0)
~~~
... - 12:25 AM Revision 90037145 (git): rb_{thread,context,fiber}_struct: trivial packing
- * vm_core.h (rb_thread_struct): reorder to pack
* cont.c (rb_context_struct, rb_fiber_struct): ditto
On x86-64, these changes reduces:
rb_thread_struct to 1000 bytes (from 1016)
rb_context_struct to 1288 bytes (from 1312)
rb_fibe... -
12:18 AM Feature #10134 (Closed): [PATCH] thread_pthread: prefer native types/functions - Applied in changeset r47185.
----------
thread_pthread: prefer rb_nativethread* types/functions
This will make it easier for us to try alternative mutex/condvar
implementations while still using pthreads for thread management.
[Feature... - 12:17 AM Revision fdb2fc0b (git): thread_pthread: prefer rb_nativethread* types/functions
- This will make it easier for us to try alternative mutex/condvar
implementations while still using pthreads for thread management.
[Feature #10134]
* thread_pthread.h: define RB_NATIVETHREAD_LOCK_INIT and
RB_NATIVETHREAD_COND_INIT mac...
08/14/2014
-
11:32 PM Revision bef5ddbb (git): parser.y: warning with VALUE for ripper
- * parse.y (ripper_warnV, ripper_warningV): add versions using
VALUE for ripper.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 11:12 PM Revision d279f68f (git): cont.c (cont_mark): fix typo in unused path [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:48 PM Feature #10134: [PATCH] thread_pthread: prefer native types/functions
- +1
--
// SASADA Koichi at atdot dot net -
09:15 PM Feature #10134 (Closed): [PATCH] thread_pthread: prefer native types/functions
- This will make it easier for us to try alternative mutex/condvar
implementations while still using pthreads for thread management.
It may be worth trying alternative mutexes/condvars (e.g. based on
atomics + futexes) if they can be si... -
09:10 PM Bug #10100: Document usage of RB_GC_GUARD in README.EXT
- e@zzak.io wrote:
> Eric do you have any other feedback?
I committed my email text to README.EXT as r47180. I think the
documentation I wrote is reasonably correct, but I prefer others review
it, too. -
08:55 PM Bug #10100 (Closed): Document usage of RB_GC_GUARD in README.EXT - Applied in changeset r47180.
----------
README.EXT: preliminary documentation for RB_GC_GUARD
[Bug #10100] [ruby-core:60741] - 09:10 PM Revision 54e546c6 (git): vm.c (rb_thread_mark): update comment about marking `me'
- [ruby-core:64340] [ruby-core:64341]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:58 PM Bug #10133 (Third Party's Issue): Bug in ruby
I got a new Mac Pro server and tried to upgrade web applets to new version of Ruby On Rails, the web applet calls an external Fortran library I developed, it worked in Ruby on Rails (Ruby 1.8.7 and Rails 2.3.18) by using "DL". I tried ...- 08:55 PM Revision 500fbe76 (git): * 2014-08-15
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:55 PM Revision ee4acc36 (git): README.EXT: preliminary documentation for RB_GC_GUARD
- [Bug #10100] [ruby-core:60741]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:48 PM Bug #10132: unpack() ignores default encoding when generating strings, always uses ASCII-8BIT
- In case there's confusion because of the strange splits in my examples:
["ünicode"].pack('M*').unpack('M*').first.encoding.name
=> "ASCII-8BIT"
-
06:21 PM Bug #10132 (Rejected): unpack() ignores default encoding when generating strings, always uses ASCII-8BIT
- New strings are generated in the default encoding:
irb> __ENCODING__.name
=> "UTF-8"
irb> "ünicode".encoding.name
=> "UTF-8"
...but not if they're generated by unpack:
irb> "ünicode".split.pack('M*').unpac... -
02:04 PM Bug #9580: Refinements regression in IRB - This got me puzzled for a couple minutes. Is there a good reason why irb shouldn't have 'using' working the same way normal env works?
-
01:10 PM Revision 05e756f3 (git): Revert r46977. [ruby-core:63857] [Bug #10071]
- The removed comment is useful to understand the behind idea to
solve the year 2038 problem.
The broken link is replaced to refer the internet archive.
https://github.com/ruby/ruby/commit/0eed69757dd2bc0eb460a5dc38e377ac8e2cbfd9#commitco... -
09:35 AM Feature #10129 (Assigned): More descriptive error message for failed net/http requests
- Shouldn't `Socket` methods raise more descriptive messages?
https://github.com/nobu/ruby/compare/socket-error-message -
09:24 AM Feature #9830: Support for GOST private/public keys
- I've tried to subclass OpenSSL::PKey::EC, it compiles, but new class is not available: https://github.com/Envek/ruby/commit/ecd27db1578ecc2722442a262b7078f92066d5f6
-
07:23 AM Feature #10131 (Feedback): Greatest multiple of r not greater than x
- `Rational#floor` and `BigDecimal#floor` take a `precision` argument optionally, like as `Float#round`.
-
07:10 AM Feature #10131: Greatest multiple of r not greater than x
- And also a corresponding method that gives the least multiple of r not smaller than x would be helpful.
3.2.ceil(0.5) #=> 3.5
41.ceil(6) #=> 42 -
06:32 AM Feature #10131 (Feedback): Greatest multiple of r not greater than x
- It happens too often to me that I want to calculate the greatest multiple of numeric r not greater than numeric x. This can be done by a simple operation below:
~~~ruby
x, r = 3.7, 0.5
x.div(r).*(r) #=> 3.5
x, r = 41, 6
x.div(r)... -
02:45 AM Feature #8771: Start does not use proxy configuration form ENV variables
- Yui NARUSE wrote:
> It causes that a client can set http_proxy on CGI environments.
> ...
Yui can you take closer look at this bug? The patch seems to set the variable correctly to avoid the CGI issue as defined in https://bugs.ruby-la... -
02:26 AM Revision fbd13e92 (git): test_io.rb: investigation
- * test/ruby/test_io.rb (test_readpartial_locktmp): check if the
reader thread is alive before write.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:12 AM Feature #10130 (Rejected): String format with nested hash
- Rejected, for several reasons:
(1) author.name is not a canonical way to access nested hash.
(2) this feature add more complexity than it gains.
(3) you can just use #{author[:name]} to embed.
Matz.
-
12:26 AM Feature #10130: String format with nested hash
- I would have expected [] for hash syntax in the string template:
~~~
"Author: %{author[:name]} (%{author[:affiliation]}), %{date}"
~~~
For it to work with dots seems inconsistent, unless the hash value responds to those methods. -
12:10 AM Feature #10130 (Rejected): String format with nested hash
- When we do string format with hashes, we have the restriction that the hash cannot be a nested one. When we want to handle more complicated string formats, for example in templates, it is more convenient if we can use a nested hash.
...
08/13/2014
-
10:36 PM Feature #10129: More descriptive error message for failed net/http requests
- Attaching diff, possibly more useful than github PR.
-
10:34 PM Feature #10129 (Assigned): More descriptive error message for failed net/http requests
- Hello,
I would like to propose the following patch:
Before
2.1.2 :003 > Net::HTTP.get(URI.parse("https://arsrtrtrstsrt.com/arstr"))
SocketError: getaddrinfo: nodename nor servname provided, or not known
After
2.... -
05:17 PM Revision 78d3e33c (git): fix typos and styles [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:28 PM Revision 8337f695 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:28 PM Revision 91aba27a (git): * 2014-08-14
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:28 PM Revision 96b27e5a (git): * ext/win32ole/win32ole.c: seperate WIN32OLE_RECORD src from
- win32ole.c
* ext/win32ole/win32ole.h: ditto.
* ext/win32ole/win32ole_record.c: ditto.
* ext/win32ole/win32ole_record.h: ditto.
* ext/win32ole/depend: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47174 b2dd03c8-39d4-4d8f-98f... - 12:46 PM Revision 77db0302 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:46 PM Revision 51b4ccd6 (git): * ext/win32ole/win32ole.c: seperate WIN32OLE_VARIANT src from
- win32ole.c.
* ext/win32ole/win32ole.h: ditto.
* ext/win32ole/win32ole_variant.c: ditto.
* ext/win32ole/win32ole_variant.c: ditto.
* ext/win32ole/depend: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47172 b2dd03c8-39d4-4d8f-... -
12:20 PM Revision 02c86ce1 (git): parse.y: preserve encodings
- * parse.y (shadowing_lvar, warn_unused_var),
(reg_named_capture_assign_iter): preserve encodings in warning
messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:17 PM Revision 5129155a (git): test_parse.rb: for warnings
- * test/ruby/test_parse.rb (TestParse): add tests for parser warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:16 PM Revision 979d413f (git): envutil.rb: fix argument order
- * test/ruby/envutil.rb (Test::Test#assert_warning): fix expected
and actual results order.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:10 AM Revision fe8b5133 (git): * ext/win32ole/win32ole.c: remove unused variable.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:35 AM Revision 651b31e3 (git): * ext/win32ole/win32ole.c(ole_search_handler_method, rescue_callback,
- folerecord_inspect): use PRIsVALUE in rb_sprintf.
* ext/win32ole/win32ole_param.c(foleparam_inspect): ditto.
* ext/win32ole/win32ole_variable.c(folevariable_inspect): use
PRIsVALUE in rb_sprintf, use rb_inspect.
git-svn-id: svn+ssh... -
08:28 AM Bug #9115: Logger traps all exceptions; breaks Timeout
- The behavior has changed in Ruby 2.1, and the default rescue no longer rescues Timeout unless Timeout was given an explicit exception class to raise. Could you try Ruby 2.1 and see if it behaves according to your expectation here?
-
03:02 AM Revision 643551f0 (git): * lib/irb/completion.rb: reverted r47163.
- because another case can't be show completion target.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:49 AM Feature #9532 (Feedback): Expose logger monitor
- Your patch broke logger and syslog/logger tests.
-
02:19 AM Bug #9063 (Closed): irb crashes when #backtrace of raised Exception is nil
- Applied in changeset r47164.
----------
* lib/irb.rb: Prevent irb from crashing when exception with
nil backtrace is raised.
[fix GH-434][ruby-core:58078][Bug #9063]
* test/irb/test_raise_no_backtrace_exception.rb: ditto. - 02:19 AM Revision d1b21e8e (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:19 AM Revision f741fd2d (git): * lib/irb.rb: Prevent irb from crashing when exception with
- nil backtrace is raised.
[fix GH-434][ruby-core:58078][Bug #9063]
* test/irb/test_raise_no_backtrace_exception.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:15 AM Bug #9800: Ship 2.1.2 with GC_HEAP_OLDOBJECT_LIMIT_FACTOR of 1.3
- I'm running Ruby 2.1.2 with `GC_HEAP_OLDOBJECT_LIMIT_FACTOR = 1.3` with good results, but I didn't do a thorough survey of behavior.
Does @ko1 suggestion (https://bugs.ruby-lang.org/issues/9607#note-11) change the situation, and tunin... -
02:11 AM Revision 087d1d27 (git): * lib/irb/completion.rb: fixed broken completion list with
- String including spaces. Contributed from @dunric. [fix GH-465]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:03 AM Revision 09ed8ca5 (git): * test/openssl/test_ssl_session.rb: fix indent.
- contributed from @spk. [fix GH-698]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e