Project

General

Profile

Activity

From 08/10/2014 to 08/16/2014

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...
ariveira (Alexandre Riveira)
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
ariveira (Alexandre Riveira)
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:...
normalperson (Eric Wong)
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 znz (Kazuhiro NISHIYAMA)
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,
...
Murase (Masamitsu Murase)
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...
Murase (Masamitsu Murase)
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.
nobu (Nobuyoshi Nakada)
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 ...
Murase (Masamitsu Murase)
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
suke (Masaki Suketa)
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...
nobu (Nobuyoshi Nakada)
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...
nobu (Nobuyoshi Nakada)
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
nobu (Nobuyoshi Nakada)
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
rits (First Last)
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...
rits (First Last)
03:18 AM Bug #10142 (Rejected): named params don't always capture passed named args
Mandatory arguments have priority over keywords arguments. nobu (Nobuyoshi Nakada)
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...
nobu (Nobuyoshi Nakada)
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
nobu (Nobuyoshi Nakada)
02:45 AM Bug #10141 (Feedback): cannot start rails
Please attach crash report file.
I suspect the usual rvm's issue.
nobu (Nobuyoshi Nakada)
02:28 AM Bug #10133 (Feedback): Bug in ruby
2.1.0 is too old, can't you try with 2.1.2?
nobu (Nobuyoshi Nakada)
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-...
nobu (Nobuyoshi Nakada)
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-...
Anonymous
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...
normalperson (Eric Wong)
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...
Eric Wong
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'...
akr (Akira Tanaka)
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 svn[bot]
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
nobu (Nobuyoshi Nakada)

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...
chibimagic (Chibi Magic)
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... meta (mathew murphy)
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...
meta (mathew murphy)
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. nobu (Nobuyoshi Nakada)
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? avit (Andrew Vit)
02:34 AM Feature #8515 (Feedback): don't allow irb to dump output for forever and ever
hsbt (Hiroshi SHIBATA)
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
rits (First Last)
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]
bgoleman (Barry Goleman)
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...
lxh37 (Liz Huang)
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...
naruse (Yui NARUSE)
01:34 PM Bug #10133: Bug in ruby

I will be happy to send .dylib and ruby code which calls it if needed.
Thanks!
lxh37 (Liz Huang)
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
naruse (Yui NARUSE)
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...
normalperson (Eric Wong)
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!
cmouse (Aki Tuomi)
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
naruse (Yui NARUSE)
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 ...
cmouse (Aki Tuomi)
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
normalperson (Eric Wong)
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. cmouse (Aki Tuomi)
11:36 AM Revision da7e13a0 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
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...
suke (Masaki Suketa)
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
ko1 (Koichi Sasada)
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-...
ko1 (Koichi Sasada)
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.
...
ko1 (Koichi Sasada)
06:01 AM Feature #10137: Introducing Incremental GC algorithm
Add an abstract section. ko1 (Koichi Sasada)
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...
ko1 (Koichi Sasada)
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
nobu (Nobuyoshi Nakada)
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...
akr (Akira Tanaka)
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...
hsbt (Hiroshi SHIBATA)
02:06 AM Bug #8230 (Rejected): Segmentation fault: at_exit
Ruby 1.9.3 is now in the security maintenance phase. hsbt (Hiroshi SHIBATA)
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. hsbt (Hiroshi SHIBATA)
01:49 AM Bug #9660 (Closed): test/unit, minitest & bundler
fixed at r45970 hsbt (Hiroshi SHIBATA)
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.
hsbt (Hiroshi SHIBATA)
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
hsbt (Hiroshi SHIBATA)
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...
normalperson (Eric Wong)
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...
sawa (Tsuyoshi Sawada)
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)
~~~
...
thesmart (John Smart)
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...
Eric Wong
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...
Anonymous
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...
Eric Wong

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
nobu (Nobuyoshi Nakada)
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 Eric Wong
10:48 PM Feature #10134: [PATCH] thread_pthread: prefer native types/functions
+1
--
// SASADA Koichi at atdot dot net
ko1 (Koichi Sasada)
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...
normalperson (Eric Wong)
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.
normalperson (Eric Wong)
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]
Anonymous
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
Eric Wong
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 ...
lxh37 (Liz Huang)
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 svn[bot]
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
Eric Wong
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"
meta (mathew murphy)
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...
meta (mathew murphy)
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? Anonymous
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...
akr (Akira Tanaka)
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
nobu (Nobuyoshi Nakada)
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 Envek (Andrey Novikov)
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`. nobu (Nobuyoshi Nakada)
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
sawa (Tsuyoshi Sawada)
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)...
sawa (Tsuyoshi Sawada)
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...
terracatta (Jason Meller)
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
nobu (Nobuyoshi Nakada)
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.
matz (Yukihiro Matsumoto)
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.
avit (Andrew Vit)
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.
...
sawa (Tsuyoshi Sawada)

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. xshay (Xavier Shay)
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....
xshay (Xavier Shay)
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 znz (Kazuhiro NISHIYAMA)
03:28 PM Revision 8337f695 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
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 svn[bot]
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...
suke (Masaki Suketa)
12:46 PM Revision 77db0302 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
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-...
suke (Masaki Suketa)
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
nobu (Nobuyoshi Nakada)
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
nobu (Nobuyoshi Nakada)
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
nobu (Nobuyoshi Nakada)
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 suke (Masaki Suketa)
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...
suke (Masaki Suketa)
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? aaron@serendipity.cx (Aaron Stone)
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
hsbt (Hiroshi SHIBATA)
02:49 AM Feature #9532 (Feedback): Expose logger monitor
Your patch broke logger and syslog/logger tests. hsbt (Hiroshi SHIBATA)
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.
hsbt (Hiroshi SHIBATA)
02:19 AM Revision d1b21e8e (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
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
hsbt (Hiroshi SHIBATA)
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...
bitsweat (Jeremy Daer)
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
hsbt (Hiroshi SHIBATA)
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
hsbt (Hiroshi SHIBATA)

08/12/2014

04:18 PM Bug #10128 (Assigned): Quoting problem for arguments of Kernel.system, Kernel.exec on Windows
On Windows, the methods that call shell commands and receive the parameters individually sometimes do not wrap the parameters sent in quotes.
This results in Windows either splitting the parameter in 2 parameters or, worse, splitting t...
MaxLap (Maxime Lapointe)
03:53 PM Revision 943fae33 (git): fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
03:09 PM Revision 2904506e (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:09 PM Revision 0f3e712e (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:09 PM Revision 25c3298e (git): * 2014-08-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:09 PM Revision 47b2057a (git): * ext/win32ole/win32ole.c: seperate WIN32OLE_PARAM src from win32ole.c
* ext/win32ole/win32ole.h: ditto.
* ext/win32ole/win32ole_param.c: ditto.
* ext/win32ole/win32ole_param.h: ditto.
* ext/win32ole/depend: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
suke (Masaki Suketa)
02:21 PM Revision f4534ea3 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:21 PM Revision aeb8791d (git): * ext/win32ole/win32ole.c: refactoring. move some methods
into win32ole_type.c / win32ole_method.c
* ext/win32ole/win32ole.h: ditto.
* ext/win32ole/win32ole_method.c: ditto.
* ext/win32ole/win32ole_method.h: ditto.
* ext/win32ole/win32ole_type.h: ditto.
* ext/win32ole/win32ole_type.h: ditto.
...
suke (Masaki Suketa)
02:00 PM Revision 7bf7bb84 (git): * ext/win32ole/win32ole.c: refactoring. move
ole_typelib_from_itypeinfo into win32ole_typelib.c.
* ext/win32ole/win32ole.h: ditto.
* ext/win32ole/win32ole_typelib.h: ditto.
* ext/win32ole/win32ole_typelib.h: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47154 b2dd03c8-...
suke (Masaki Suketa)
12:51 PM Bug #10127 (Closed): WIN32OLE segfaults
Applied in changeset r47153.
----------
* ext/win32ole/win32ole.c (ole_create_dcom): use the converted
result if the argument can be converted to a string, to get rid
of invalid access. Thanks to nobu. [ruby-dev:48467] [Bug #10127]
suke (Masaki Suketa)
03:01 AM Bug #10127 (Closed): WIN32OLE segfaults
`fole_initialize()`では引数を`StringValue()`で変換していますが、`ole_create_dcom()`には変換前の引数がそのまま渡されています。
そのため、`to_str`メソッドを持つオブジェクトをホスト名とともに渡すと、不正なアクセスが起きます。
分かりやすい例では、`NilClass#to_str`などを追加すればSEGVします。
https://github.com/nobu/ruby/compare/win32ole...
nobu (Nobuyoshi Nakada)
12:51 PM Revision eac5e58b (git): * ext/win32ole/win32ole.c (ole_create_dcom): use the converted
result if the argument can be converted to a string, to get rid
of invalid access. Thanks to nobu. [ruby-dev:48467] [Bug #10127]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
suke (Masaki Suketa)
08:29 AM Revision 89901cc7 (git): configure.in: [Bug #8409]
* configure.in: check if prefix is same as the cwd, not only same
path name. also use AC_MSG_ERROR to bail out.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:35 AM Bug #9598 (Feedback): Bug while installing a c-extensions gem
I couldn't reproduce this with Ruby 2.1.2 and trunk. hsbt (Hiroshi SHIBATA)
07:27 AM Bug #9517 (Rejected): why not match ?
hsbt (Hiroshi SHIBATA)
07:26 AM Bug #8784 (Assigned): CSV - Empty fields are discarded when col_sep is a space
hsbt (Hiroshi SHIBATA)
07:25 AM Bug #9800 (Feedback): Ship 2.1.2 with GC_HEAP_OLDOBJECT_LIMIT_FACTOR of 1.3
hsbt (Hiroshi SHIBATA)
07:16 AM Bug #9479 (Feedback): IMAP connection failure on Rubinius
hsbt (Hiroshi SHIBATA)
05:36 AM Feature #5480 (Assigned): remove GServer from stdlib
hsbt (Hiroshi SHIBATA)
05:26 AM Bug #8409 (Closed): Having issues compiling 2.0.0 p195
Applied in changeset r47151.
----------
* configure.in: ignored working directory same as prefix value.
[ruby-core:54999] [Bug #8409]
hsbt (Hiroshi SHIBATA)
05:25 AM Revision 3486904f (git): * configure.in: ignored working directory same as prefix value.
[ruby-core:54999] [Bug #8409]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
04:51 AM Bug #8679 (Assigned): Time.newのutc_offset文字列で、 MMが60-99の場合にも例外を出して欲しい
hsbt (Hiroshi SHIBATA)
04:36 AM Bug #6756 (Closed): FileUtils.rm_rf がアクセス権のない空ディレクトリを削除しない
Applied in changeset r47150.
----------
* lib/fileutils.rb: enable to remove with non-owner directory.
[ruby-dev:45976] [Bug #6756]
* test/fileutils/test_fileutils.rb: add testcase for #6756.
hsbt (Hiroshi SHIBATA)
04:36 AM Revision ac210750 (git): * lib/fileutils.rb: enable to remove with non-owner directory.
[ruby-dev:45976] [Bug #6756]
* test/fileutils/test_fileutils.rb: add testcase for #6756.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
04:18 AM Bug #7733 (Feedback): Segfault in ::JSON.parse(nil, :quirks_mode => true)
Please use Ruby 2.0 or 2.1. hsbt (Hiroshi SHIBATA)
04:08 AM Bug #8790 (Feedback): r41424 以降、Solaris と gdbm 1.1.10 にて TestGDBM#test_s_open_lock が終わらない
hsbt (Hiroshi SHIBATA)
04:07 AM Bug #7707 (Rejected): FileUtils.mv fails to move symlink between filesystems
This issue is fixed by r46783.
If you still have this issue, Please reopen this.
hsbt (Hiroshi SHIBATA)
04:01 AM Feature #8981 (Feedback): Suggestion for CreateProcess flags with rubyw on windows
hsbt (Hiroshi SHIBATA)
03:59 AM Feature #9997 (Closed): Specifying non volatile registers for increase performence in ppc64
Applied in changeset r47149.
----------
* vm_exec.c: improve performance in ppc64 arch.
[ruby-core:63437] [Feature #9997]
hsbt (Hiroshi SHIBATA)
03:59 AM Revision d1075b72 (git): * vm_exec.c: improve performance in ppc64 arch.
[ruby-core:63437] [Feature #9997]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
03:48 AM Bug #9988 (Assigned): CSV does not write headers when :write_headers is true and no rows are added
hsbt (Hiroshi SHIBATA)
03:47 AM Feature #8919 (Assigned): Queue as embedded class
hsbt (Hiroshi SHIBATA)
03:44 AM Feature #10119 (Assigned): [PATCH] [net/imap] Add CHANGEDSINCE FETCH modifier + complementary add MODSEQ Message Data Item in FETCH Command
hsbt (Hiroshi SHIBATA)
03:35 AM Bug #9302 (Closed): [PATCH] thread: fix deadlock/freeze on SizedQueue#push
hsbt (Hiroshi SHIBATA)
03:34 AM Misc #8835 (Closed): Introducing a semantic versioning scheme and branching policy
We already applied to use SemVer 'like' versioning after Ruby 2.1.
see also. https://www.ruby-lang.org/en/news/2013/12/21/ruby-version-policy-changes-with-2-1-0/
hsbt (Hiroshi SHIBATA)
03:31 AM Bug #9259 (Closed): "Could not find 'minitest': test suite errors
fixed at r46574 hsbt (Hiroshi SHIBATA)
03:29 AM Misc #9446 (Closed): DRb documentation should notice that start_service should be called at least once per process
fixed at r44784 hsbt (Hiroshi SHIBATA)
03:22 AM Bug #9180 (Closed): Typo in FileUtils' method name
Applied in changeset r47148.
----------
* lib/fileutils.rb: fix typo.
[ruby-dev:47831] [Bug #9180]
hsbt (Hiroshi SHIBATA)
03:21 AM Revision 0210b487 (git): * lib/fileutils.rb: fix typo.
[ruby-dev:47831] [Bug #9180]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
03:21 AM Bug #7760 (Feedback): "-\n2000-01-02 03:04:05".to_yaml raise ArgumentError
It's already fixed in trunk, 2.1.0 and 2.0.0 HEAD revision.
Ruby 1.9 is only security maintenance phase.
I think this issue should be closed.
hsbt (Hiroshi SHIBATA)
02:06 AM Bug #10063 (Rejected): [ruby_2_1] test-all abort due to undefined marshal_dump from test_queue.rb
nagachika (Tomoyuki Chikanaga)
01:17 AM Revision 5ab14616 (git): vm_method.c (release_method_definition): use rb_free_method_entry
We are not currently avoiding recursion by calling
release_method_definition, so use rb_free_method_entry directly
to make changing code easier in case we change the way
rb_method_entry_t is allocated.
git-svn-id: svn+ssh://ci.ruby-lang...
Eric Wong

08/11/2014

09:20 PM Revision 340d73b2 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:20 PM Revision 1a83b211 (git): * ext/win32ole/win32ole.c: seperate WIN32OLE_METHOD src from
win32ole.c.
* ext/win32ole/win32ole.h: ditto.
* ext/win32ole/win32ole_method.c: ditto.
* ext/win32ole/win32ole_method.h: ditto.
* ext/win32ole/depend: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47145 b2dd03c8-39d4-4d8f-98...
suke (Masaki Suketa)
08:45 PM Bug #10120: TestSprintf#test_float still an issue
The #8358 was always issue on our builders and reproducible locally using mock [1]. E.g. I typically run the i686 build on my x86_64 OS inside the mock environment for i686.
These are approximately steps you should follow to reproduce...
vo.x (Vit Ondruch)
08:39 PM Bug #10046: OpenSSL::TestSSLSession#test_ctx_server_session_cb and OpenSSL::TestSSLSession#test_ctx_client_session_cb test failures
e@zzak.io wrote:
> Can we vendor openssl like we do libyaml?

Not speaking for Martin, but I think that would be a horrible idea.
OpenSSL has new CVEs issued for it all the time and that would be a big
maintenance burden to stay up...
normalperson (Eric Wong)
08:35 PM Bug #10046: OpenSSL::TestSSLSession#test_ctx_server_session_cb and OpenSSL::TestSSLSession#test_ctx_client_session_cb test failures
There routines were disabled in OpenSSL for good reasons I suppose. I don't understand, why Ruby should be less secure. Not speaking about duplicated work. vo.x (Vit Ondruch)
07:35 PM Bug #10046: OpenSSL::TestSSLSession#test_ctx_server_session_cb and OpenSSL::TestSSLSession#test_ctx_client_session_cb test failures
Can we vendor openssl like we do libyaml? zzak (zzak _)
06:47 PM Revision 97a4ecb0 (git): add timeout
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:37 PM Feature #10090: Display of program name in process listing under AIX
Has there been any movement on this? It's clearly a regression when compared to the 1.8 series, and it directly corresponds to the rewritten proctitle code introduced in 1.9. mckern (Ryan McKern)
06:26 PM Bug #10126 (Closed): Dir.home encoding is incorrect on Windows
Dir.home string itself is actually returned encoded in cp775 (no matter what consoles encoding is)
but encoding information is as windows default encoding.
For example, if my home directory is C:\Users\Dāvis and windows default enc...
davispuh (Dāvis Mosāns)
06:18 PM Feature #4276: Allow use of quotes in symbol syntactic sugar for hashes
Yukihiro Matsumoto wrote:
> I am not against the idea, but I want to make sure that key will be symbol,
Yes, I believe that was the intention. E.g.
```
# Currently, Hashes have syntactic sugar which allows:
{:key => "Value"} == ...
Ajedi32 (Ajedi32 W)
05:33 PM Bug #10124 (Closed): Sinatra Segmentation fault
This bug is a duplicate and was fixed in a patchlevel release of 2.0.0, but I can't find the appropriate ticket now.
Please try upgrading your version of Ruby, thanks!
zzak (zzak _)
04:47 PM Bug #10124 (Closed): Sinatra Segmentation fault
I am running A Tilt/Sinatra Based Webserver on Debian 7.
The server is sporadically crashing and displaying Errors as shown below.
The instructions at the bottom pointed me to this forum to seek help.
Any insight or direction to begin...
GtrPksRnt4eatin (Benjamin Klein)
05:32 PM Bug #10125 (Assigned): Array#sort and #sort! documentation issue
zzak (zzak _)
05:16 PM Bug #10125 (Closed): Array#sort and #sort! documentation issue
The documentation about the values that should be returned by the block is backwards.
a <=> b will return -1 if a is lower than b, i.e. b follows a (in the sorted array).
a <=> b will return 1 if a is greater than b, i.e. a follows b...
maxtruc (Maxime Réty)
03:30 PM Revision 90baa972 (git): * 2014-08-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:30 PM Revision f31252f0 (git): fix style and typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
03:27 PM Feature #10123 (Rejected): Named capture groups don't set local vars when matched using ~
Broken when using `~`:
~~~
$ echo ' josh' | ruby -ne '~/(?<initial>\w)/ and puts initial'
-e:1:in `<main>': undefined local variable or method `initial' for main:Object (NameError)
~~~
Working when using `=~ $_`:
~~~
$ echo ...
josh.cheek (Josh Cheek)
03:19 PM Bug #10048 (Closed): Time comparison broken on Windows, Ruby 1.9.3
zzak (zzak _)
10:25 AM Bug #10048: Time comparison broken on Windows, Ruby 1.9.3
Not a bug - please close.
The embedded Windows system clock is incorrect.
(Not my choice to use embedded Windows).
kmcd (k mcd)
02:56 PM Bug #9875: ERB#result documentation incorrect
Backported into `ruby_2_1` branch at r47141. nagachika (Tomoyuki Chikanaga)
02:55 PM Revision 5712fa57 (git): merge revision(s) r46241: [Backport #9875]
* lib/erb.rb (result): [DOC] no longer accepts a Proc, as
Kernel.eval does not. [fix GH-619]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@47141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
02:53 PM Bug #9865: frozen IO object causes RuntimeError with inspect and fileno
r46151 and r46165 (partially) were backported into `ruby_2_1` branch at r47140. nagachika (Tomoyuki Chikanaga)
02:53 PM Revision 5a5ac314 (git): merge revision(s) r46151,r46165: [Backport #9865]
* io.c (rb_io_fileno, rb_io_inspect): non-modification does not
error on frozen IO. [ruby-dev:48241] [Bug #9865]
* io.c (rb_io_autoclose_p): Don't raise on frozen IO.
* test/lib/minitest/unit.rb: IO#autoclose...
nagachika (Tomoyuki Chikanaga)
02:28 PM Bug #10122 (Third Party's Issue): Wrong message when removing ruby1.8 version
Debian's policy. nobu (Nobuyoshi Nakada)
01:10 PM Bug #10122 (Third Party's Issue): Wrong message when removing ruby1.8 version
When the ruby1.8 version is uninstalled using apt-get remove ruby1.8, version ruby1.9.3 gets installed automatically. But during this process the message shows installing ruby 1.9.1, which is wrong. cptanu (Anu V)
01:44 PM Bug #9914: posix_fadvise() does not work correctly with _LARGE_FILES on 32-bit AIX
Backported into `ruby_2_1` branch at r47139. nagachika (Tomoyuki Chikanaga)
01:43 PM Revision f9a0c3fa (git): merge revision(s) r46382,r46384,r46913: [Backport #9914]
* io.c (rb_io_advise): AIX currently does not support a 32-bit call to
posix_fadvise() if _LARGE_FILES is defined. Patch by Rei Odaira.
[ruby-core:62968] [Bug #9914]
* configure.in (posix_fadvise): disable us...
nagachika (Tomoyuki Chikanaga)
01:22 PM Bug #10016: Destructuring block arguments with a Hashable last element
Backported into `ruby_2_1` branch at r47138. nagachika (Tomoyuki Chikanaga)
01:22 PM Revision 6ff49bf8 (git): merge revision(s) r46775: [Backport #10016]
* vm_insnhelper.c (vm_callee_setup_keyword_arg): adjust VM stack
pointer to get rid of overwriting splat arguments by arguments
for `to_hash` conversion. [ruby-core:63593] [Bug #10016]
git-svn-id: svn+ssh://ci.ruby...
nagachika (Tomoyuki Chikanaga)
01:20 PM Revision 812c7a9e (git): * ext/win32ole/win32ole_variable.c(folevariable_inspect): refactoring.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e suke (Masaki Suketa)
11:50 AM Revision 66973fc1 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:50 AM Revision 0aa9e15e (git): * ext/win32ole/win32ole.c: seperate WIN32OLE_VARIABLE src from
win32ole.c
* ext/win32ole/win32ole.h: ditto.
* ext/win32ole/win32ole_variable.c: ditto.
* ext/win32ole/win32ole_variable.h: ditto.
* ext/win32ole/depend: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47135 b2dd03c8-39d4-4d8f...
suke (Masaki Suketa)
09:42 AM Bug #9291: array splatting a nil works, but hash splatting a nil does not
Currently, `*` uses explicit conversion to array (`to_a`, not `to_ary`), while `**` uses implicit conversion to hash (`to_hash`, not `to_h`).
So your question about `nil` can be explained this way, since `nil.to_a #=> []` but `nil.to_...
marcandre (Marc-Andre Lafortune)
07:17 AM Bug #10102 (Closed): [PATCH] dir.c: [DOC] Document that Dir.exists? is deprecated
Applied in changeset r47134.
----------
dir.c: Dir.exists? is deprecated
* dir.c (rb_dir_exists_p): [DOC] Document that Dir.exists? is
deprecated. [ruby-core:64135] [Bug #10102]
nobu (Nobuyoshi Nakada)
07:17 AM Revision 4ce3e118 (git): dir.c: Dir.exists? is deprecated
* dir.c (rb_dir_exists_p): [DOC] Document that Dir.exists? is
deprecated. [ruby-core:64135] [Bug #10102]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:26 AM Bug #10105 (Closed): Mixed styles for class methods on Tempfile break RDocs.
Applied in changeset r47133.
----------
lib/tempfile.rb: include doc of Tempfile.open
* lib/tempfile.rb: start rdoc parsing inside singleton class
definition to include the document there.
[ruby-core:64157] [Bug #10105]
nobu (Nobuyoshi Nakada)
02:26 AM Revision 84ae5332 (git): lib/tempfile.rb: include doc of Tempfile.open
* lib/tempfile.rb: start rdoc parsing inside singleton class
definition to include the document there.
[ruby-core:64157] [Bug #10105]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:40 AM Revision 9388ad42 (git): * 2014-08-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:40 AM Revision b6d23e45 (git): configure.in: fix jemalloc check
* configure.in (jemalloc): check with JEMALLOC_MANGLE if not found
without the mangling.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:40 AM Revision c7bc925b (git): configure.in: remove spaces followed by tabs
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

08/10/2014

11:59 PM Bug #10105: Mixed styles for class methods on Tempfile break RDocs.
I've tried to fix it only touching documentation, and it seems to be
impossible, rdoc does not understand the `class << self` syntax (I
understand rdoc in this point, ruby is not easy to parse). I've added an
issue in Rdoc for it ...
eloyesp (Eloy Esp)
01:38 PM Feature #10121 (Closed): Dir.empty?
On IRC someone asked how to find out if a directory is empty or not, from within ruby.
It seems as if there was no simple way.
I suggest adding `Dir.empty?`
On IRC, someone else suggested this:
~~~ruby
Dir.entries(dir).size ...
shevegen (Robert A. Heiler)
04:48 AM Revision f5e2b68a (git): configure.in: remove SSE options
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:48 AM Revision 244bf0ad (git): goruby.c: suppress warning
* goruby.c (goruby_options): check the result of `write(2)` to
suppress unused-result warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:45 AM Bug #10120 (Feedback): TestSprintf#test_float still an issue
nobu (Nobuyoshi Nakada)
04:44 AM Bug #10120: TestSprintf#test_float still an issue
How can I reproduce the problem of `sprintf` on Fedora?
Which version OS, libc, and gcc?
### I CAN NEVER REPRODUCE IT ON ANY PLATFORMS, INCLUDE MINGW.
nobu (Nobuyoshi Nakada)
04:37 AM Feature #10108 (Feedback): NameError#name and nested constants
Good name is desired, as usual. nobu (Nobuyoshi Nakada)
03:31 AM Revision ac574fe8 (git): configure.in: duplicated linker flags
* configure.in (with_jemalloc): get rid of duplicated linker flags,
as AC_CHECK_LIB adds it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:31 AM Revision 62a4c2f5 (git): common.mk: ignore timestamp directory
* common.mk (clean-ext): ignore error on removing non-existent
timestamp directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:23 AM Revision cfb519a2 (git): * ext/win32ole/win32ole_type.c: refactoring.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e suke (Masaki Suketa)
02:41 AM Revision 4473d2fe (git): sample: use IO::NULL
* sample/cgi-session-pstore.rb: use IO::NULL instead of hard coded
device name for portability.
* sample/drb/ring_place.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:34 AM Revision 22cbb7e8 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:34 AM Revision ffc068c9 (git): * lib/cgi/session/pstore.rb: separated sample code.
* lib/open3.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
01:05 AM Revision 31a1d062 (git): * 2014-08-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:05 AM Revision 0b7979a8 (git): * lib/irb/ext/multi-irb.rb: fixed indent.
* lib/irb/output-method.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
01:05 AM Revision f9a81499 (git): * lib/irb/ext/multi-irb.rb: removed commented-out code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
 

Also available in: Atom