Project

General

Profile

Activity

From 10/26/2014 to 11/01/2014

11/01/2014

10:03 PM Bug #10450: multiple assignment in conditional
Joshua Ballanco wrote:
> Which of the multiple values assigned would you have used as the test for the conditional?
...
bughit (bug hit)
04:32 PM Revision e6aac32a (git): * test/openssl/test_ssl.rb: Don't ignore errors on listener threads,
as much as possible.
* test/openssl/test_ssl_session.rb: Ditto.
* test/openssl/test_partial_record_read.rb: Ditto.
...
akr (Akira Tanaka)
03:56 PM Revision a25e9259 (git): ignore_ssl_accept_error option is changed to ignore_listener_error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:49 PM Bug #10454: %i doesn't have any special behavior in rb_sprintf et al.
Ah, I see now. I needed to use `%li`. It seems like README.EXT should mention `PRIsVALUE` instead of `%i`. silverhammermba (Max Anselm)
03:08 AM Bug #10454: %i doesn't have any special behavior in rb_sprintf et al.
Use `"%"PRIsVALUE` instead of `"%i"`. nobu (Nobuyoshi Nakada)
03:35 PM Revision c21ae1e1 (git): * 2014-11-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:35 PM Revision aa46754b (git): comment updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:53 PM Revision 88c37cdc (git): start_server refined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:12 PM Revision 3ec72f07 (git): * test/openssl/utils.rb (start_server): Don't close sockets before
threads finished.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:29 PM Revision f4b417eb (git): refine message of assert_join_threads.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:10 PM Revision d5802c51 (git): * test/openssl/test_ssl_session.rb (test_ctx_client_session_cb): Don't
ignore errors of SSL accept.
(test_ctx_server_session_cb): Ditto.
* test/openssl/utils.rb (server_loop): Add ignor...
akr (Akira Tanaka)
11:41 AM Revision a7c425cb (git): * test/openssl/utils.rb (start_server, server_loop): Use a
pipe to stop server instead of shutdown/close a listening socket.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun...
akr (Akira Tanaka)
10:25 AM Revision bfd540cd (git): * test/ruby/envutil.rb (assert_join_threads): New assertion to
join multiple threads without exceptions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48223 b2dd03c8-39d4-4d...
akr (Akira Tanaka)
08:13 AM Bug #10465 (Closed): Bug of multiplication between Bignums
Applied in changeset r48222.
----------
* bignum.c (bary_mul_balance_with_mulfunc): Fix free work area
location.
...
akr (Akira Tanaka)
05:09 AM Bug #10465 (Closed): Bug of multiplication between Bignums
I calculate multiplication of a certain pear of Bignums,
and a wrong result is outputted.
OS:Windows Vista Home P...
Nishihama (Kohji Nishihama)
08:13 AM Bug #10464 (Closed): Bignum同士の乗算の不具合
Applied in changeset r48222.
----------
* bignum.c (bary_mul_balance_with_mulfunc): Fix free work area
location.
...
akr (Akira Tanaka)
04:46 AM Bug #10464: Bignum同士の乗算の不具合
対象バージョン:を誤ってしまいました。
正しくは2.1.0です。
Nishihama (Kohji Nishihama)
04:31 AM Bug #10464 (Closed): Bignum同士の乗算の不具合
あるBignum同士を乗算すると、誤った値が出力されます。
OSはWindows Vista Home Premium。
なお、ruby 1.8.7 (2008-08-11 patchlevel 72) [i386-mswin32...
Nishihama (Kohji Nishihama)
08:13 AM Revision 905b5221 (git): * bignum.c (bary_mul_balance_with_mulfunc): Fix free work area
location.
[ruby-dev:48723] [Bug #10464]
[ruby-core:66044] [Bug #10465]
Reported by Kohji Nishihama.
git-svn-...
akr (Akira Tanaka)
06:59 AM Revision 119afd75 (git): parse.y: separate error messages
* parse.y (parse_atmark): separate error messages for sigil types,
and make more descriptive
git-svn-id: svn+ssh:/...
nobu (Nobuyoshi Nakada)
06:45 AM Revision b5ba1dcd (git): parse.y: invalid instance/class variable names
* parse.y (parse_atmark): mere atmark and two atmarks without
succeeding identifiers are invalid as instance/class ...
nobu (Nobuyoshi Nakada)
02:37 AM Feature #10463: :~@ and :!@ are not parsed correctly
That's because bash is trying to interpolate the string.
$ ruby -e 'p :!@'
:!
silverhammermba (Max Anselm)
02:13 AM Feature #10463 (Rejected): :~@ and :!@ are not parsed correctly
The at mark in literal symbols `:~@` and `:!@` are ignored.
~~~ruby
:~@ # => :~
:!@ # => :!
~~~
sawa (Tsuyoshi Sawada)

10/31/2014

10:23 PM Revision 3dce236b (git): common.mk: remove dl from EXT_SRCS
* common.mk (EXT_SRCS): remove dl/callback which has been removed
at r48217.
git-svn-id: svn+ssh://ci.ruby-lang.or...
nobu (Nobuyoshi Nakada)
09:33 PM Revision 98536495 (git): ext/win32ole/win32ole_variant.c: use typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e suke (Masaki Suketa)
09:13 PM Feature #5458 (Closed): DL should be removed
Applied in changeset r48217.
----------
* ext/dl/*: remove DL as it is replaced by Fiddle.
[Feature #5458] Thanks ...
Anonymous
09:13 PM Revision 07308c4d (git): * ext/dl/*: remove DL as it is replaced by Fiddle.
[Feature #5458] Thanks to Jonan Scheffler <[email protected]>
for this patch
* test/dl/*: ditto.
git-svn-i...
tenderlovemaking (Aaron Patterson)
08:51 PM Bug #10454: %i doesn't have any special behavior in rb_sprintf et al.
Well I can't get it to work for some reason. When I run this code:
~~~C
#include <ruby.h>
VALUE func(VALUE arg...
silverhammermba (Max Anselm)
08:49 PM Revision 88326272 (git): * test/openssl/test_ssl.rb: Add certificate verification chain
test from JRuby community.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
headius (Charles Nutter)
08:33 PM Bug #10453: NUM2CHR() does not perform additional bounds checks
I would expect it to raise `RangeError` if the num exceeds the size of a `char`. That is the behavior of the all of t... silverhammermba (Max Anselm)
03:12 PM Bug #10453 (Assigned): NUM2CHR() does not perform additional bounds checks
`NUM2CHR` rather should never raise `RangeError` for any arguments? nobu (Nobuyoshi Nakada)
07:37 PM Revision e697783d (git): * 2014-11-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:37 PM Revision 08d0b570 (git): * test/psych/test_emitter.rb: Fix line_width test...initial value
is impl-specific and attr assignment always returns LHS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48214 b2d...
headius (Charles Nutter)
01:22 PM Bug #9494 (Closed): Race condition in autoload of Digest::SHA256, etc.
Applied in changeset r48213.
----------
Make Digest() thread-safe.
* ext/digest/lib/digest.rb (Digest()): This func...
knu (Akinori MUSHA)
01:09 PM Bug #9494 (Assigned): Race condition in autoload of Digest::SHA256, etc.
Hi,
Thanks for the patch, but this change is hardly acceptable because it unconditionally increases memory consump...
knu (Akinori MUSHA)
01:21 PM Revision c02fa394 (git): Make Digest() thread-safe.
* ext/digest/lib/digest.rb (Digest()): This function should now be
thread-safe. If you have a problem with regard ...
Akinori MUSHA
01:12 PM Revision 2172b448 (git): * test/digest/test_digest.rb: Drop #!. This no longer runs
stand-alone because it depends on ruby/envutil.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48212 b2dd03c8-39d...
Akinori MUSHA
10:00 AM Feature #859: open-uri doesn't allow redirection to https
FYI, HTML5 defines whether it should redirect or not:
http://www.w3.org/TR/2014/REC-html5-20141028/infrastructure.ht...
naruse (Yui NARUSE)
08:25 AM Revision a12ca211 (git): * win32/setup.mak: $(APPEND) with some arguments insert a space before
the arguments, so it causes error if the arguments are expected to be
a macro definition. this fix resolve the bui...
U.Nakamura
08:07 AM Revision 74ec7699 (git): win32/setup.mak: get target architecture from the compiler
* win32/Makefile.sub, win32/setup.mak (MACHINE): get target
architecture from the compiler, instead of environment ...
nobu (Nobuyoshi Nakada)
08:07 AM Revision 26c13db6 (git): test_time.rb: test_iso8601
* test/test_time.rb (TestTimeExtension#test_iso8601): run all
xmlschema tests with iso8601 method, and fix the test...
nobu (Nobuyoshi Nakada)
07:49 AM Bug #10159 (Closed): Ruby 2.x Syslog::Logger is newer than the one in Rubygems but version is the same
Applied in changeset r48208.
----------
Bump Syslog::Logger::VERSION to 2.1.0.
* ext/syslog/lib/syslog/logger.rb (S...
knu (Akinori MUSHA)
07:49 AM Revision f701b0df (git): Bump Syslog::Logger::VERSION to 2.1.0.
* ext/syslog/lib/syslog/logger.rb (Syslog::Logger::VERSION): Bump
the VERSION to 2.1.0. [ruby-core:64483] [Bug #101...
Akinori MUSHA
07:36 AM Revision a87c88bc (git): Document that Net::IMAP#fetch will return nil instead of an emtpy array.
* lib/net/imap.rb (Net::IMAP#fetch): [DOC] Document that
Net::IMAP#fetch will return nil instead of an emtpy array....
Akinori MUSHA
07:21 AM Revision 8ed7d220 (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
05:12 AM Bug #10462 (Closed): fiddle/libffi installation failing on cygwin
During the make process, I get the following message:
configuring fiddle
ffi.h is missing. Please install libffi.
...
duerst (Martin Dürst)
03:54 AM Bug #10461 (Closed): lib/unicode_normalize/tables.rb not regenerated
Applied in changeset r48205.
----------
common.mk: fix Unicode table dependency
* common.mk (.unicode-tables.time):...
nobu (Nobuyoshi Nakada)
03:54 AM Revision aa631f9a (git): common.mk: fix Unicode table dependency
* common.mk (.unicode-tables.time): needs Unicode files always,
and should update after downloading these files.
...
nobu (Nobuyoshi Nakada)
03:49 AM Revision c2228158 (git): extmk.rb: include UPDATE_LIBRARIES
* ext/extmk.rb: include UPDATE_LIBRARIES in SUBMAKEOPTS for NMAKE
which does not include macro definitions given by...
nobu (Nobuyoshi Nakada)
01:20 AM Feature #10378: [PATCH 0/3] It's better (1 + 0i).real? return true
> to know whether a object whose class has Numeric as superclass is equal to real number or not.
Simplly, `a.real?...
t-nissie (Takeshi Nishimatsu)
01:16 AM Revision f17a28dd (git): * .travis.yml: reverted r48199, it's unlated configuration.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
12:59 AM Revision f288185d (git): * test/test_unicode_normalize.rb: added unicode version number to
test data location.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
12:59 AM Revision 53117e9f (git): * .gitignore: ignored unicode data with version directories.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
12:35 AM Revision cf0d7a70 (git): * 2014-10-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:35 AM Revision c0e546bc (git): * .travis.yml: tweak build scripts for unicode_normalize.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)

10/30/2014

11:44 PM Bug #10461: lib/unicode_normalize/tables.rb not regenerated
The problem still is still there if I do make up; make install(-nodoc) duerst (Martin Dürst)
11:40 PM Bug #10461 (Closed): lib/unicode_normalize/tables.rb not regenerated
The file lib/unicode_normalize/tables.rb doesn't get regenerated if removed.
How to reproduce:
Remove lib/unicode_n...
duerst (Martin Dürst)
09:21 PM Feature #10442: Helper methods to Vector class
More tests Clamoris (Egunov Dmitriy)
08:49 PM Feature #10378: [PATCH 0/3] It's better (1 + 0i).real? return true
@Takeshi Nishimatsu san
Thank for info, how do you think about my points?
gogotanaka (Kazuki Tanaka)
02:58 PM Revision 708eed20 (git): common.mk: separate updates
* common.mk (UPDATE_LIBRARIES): separate autogenerated library
script from downloaded data files.
git-svn-id: svn+...
nobu (Nobuyoshi Nakada)
01:17 PM Bug #10460 (Closed): Segfault instead of stack level too deep
The code to trigger this can be found here: https://gist.github.com/mbj/31163a8e712573877268
Also have a look at t...
plexus (Arne Brasseur)
11:12 AM Feature #10459 (Rejected): [PATCH] rfc3339 method for Time
Alias for iso8601 method for compatibility with DateTime (Ruby on Rails). Antiarchitect (Andrey Voronkov)
09:48 AM Revision 7c1480ec (git): * common.mk: fix for the case ALWAYS_UPDATE_UNICODE=no
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:56 AM Bug #10450: multiple assignment in conditional
Which of the multiple values assigned would you have used as the test for the conditional?
~~~
if (a, b = true, f...
jballanc (Joshua Ballanco)
08:30 AM Bug #10458 (Closed): After r48196, make cannot complete because of Unicode file download problem
When I did
make up; make install-nodoc
after r48196, make finished with the messages below. This was after the t...
duerst (Martin Dürst)
07:39 AM Revision 39713bd9 (git): common.mk: separate Unicode files directory
* common.mk: download Unicode files into separate directory for the
version.
* tool/downloader.rb (Downloader::Uni...
nobu (Nobuyoshi Nakada)
06:33 AM Revision 40cc9231 (git): tkutil.c: remove useless branches
* ext/tk/tkutil/tkutil.c (cbsubst_table_setup): remove useless
branches and get rid of out of bound access.
git-sv...
nobu (Nobuyoshi Nakada)
06:04 AM Bug #10457 (Closed): Proc instead of String as error message still doesn't work (gem problem?)
Proc instead of String as error message still doesn't work for me (see #10430).
The relevant gem has been updated (s...
duerst (Martin Dürst)
05:02 AM Bug #10430 (Closed): Proc instead of String as error message doesn't work.
I close this issue because installing gem is another topic. kou (Kouhei Sutou)
04:30 AM Bug #10416: Create mechanism for updating of Unicode data files downstreams when we want
I committed r48194, switching the download location to http://www.unicode.org/Public/7.0.0/ucd/ (i.e. Unicode Version... duerst (Martin Dürst)
04:23 AM Revision bd38e0c4 (git): tool/downloader.rb: changed Unicode data download location
from latest Unicode version to Unicode 7.0.0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48194 b2dd03c8-39d4-...
duerst (Martin Dürst)
02:16 AM Bug #9605 (Closed): Chaining "each_with_index.detect &lambda" raises ArgumentError
Applied in changeset r48193.
----------
vm_insnhelper.c: allow to_ary
* vm_insnhelper.c (vm_callee_setup_arg{_compl...
nobu (Nobuyoshi Nakada)
02:16 AM Revision e95e5247 (git): vm_insnhelper.c: allow to_ary
* vm_insnhelper.c (vm_callee_setup_arg{_complex,}): try conversion
by to_ary for a lambda, as well as a proc.
[ru...
nobu (Nobuyoshi Nakada)
12:47 AM Revision 44d2958e (git): ruby.h: optimize NUM2CHR
* include/ruby/ruby.h (rb_num2char_inline): use RB_TYPE_P for
optimization.
git-svn-id: svn+ssh://ci.ruby-lang.org...
nobu (Nobuyoshi Nakada)
12:10 AM Bug #10456 (Rejected): kwargs and block without comma should probably be a syntax error
nobu (Nobuyoshi Nakada)
12:07 AM Bug #10454 (Closed): %i doesn't have any special behavior in rb_sprintf et al.
It's true, see `ruby__sfvextra()`. nobu (Nobuyoshi Nakada)

10/29/2014

11:06 PM Bug #10456: kwargs and block without comma should probably be a syntax error
In fact, if you run with warnings enabled, you see:
```
$ ruby -w -e "def wat(something: nil &block); end"
-e:1:...
Anonymous
11:01 PM Bug #10456: kwargs and block without comma should probably be a syntax error
```ruby
def wat(something: nil &block)
end
```
`nil &block` is a legal expression (calling the `&` method on `...
Anonymous
10:52 PM Bug #10456 (Rejected): kwargs and block without comma should probably be a syntax error
... bobbytables (Robert Ross)
10:17 PM Feature #10455: [PATCH 0/n] Combine interface for creating new matrix
For now, I'm gonna make `Matrix.row_vector(row)` and `Matrix.column_vector(column)` deprecated. gogotanaka (Kazuki Tanaka)
09:35 PM Feature #10455 (Third Party's Issue): [PATCH 0/n] Combine interface for creating new matrix
I believe we'd better reduce the number of interface for creating new matrix as much as possible.
Right now, we ha...
gogotanaka (Kazuki Tanaka)
09:56 PM Feature #10442: Helper methods to Vector class
@Egunov Dmitriy
I like this idea, and it looks fine for me.
It may too trivial things but I want more tests and...
gogotanaka (Kazuki Tanaka)
07:00 PM Feature #10442: Helper methods to Vector class
Thanks, Marc-Andre Lafortune.
Patch updated (in attach), please take a look.
Clamoris (Egunov Dmitriy)
12:51 AM Feature #10442: Helper methods to Vector class
Marc-Andre Lafortune wrote:
> Thanks for the feature request(s).
>
> I think `angle_between` could be useful. The...
marcandre (Marc-Andre Lafortune)
12:51 AM Feature #10442: Helper methods to Vector class
Thanks for the feature request(s).
I think `angle_between` could be useful. The patch needs work though:
* shou...
marcandre (Marc-Andre Lafortune)
08:56 PM Bug #10454 (Closed): %i doesn't have any special behavior in rb_sprintf et al.
README.EXT claims:
> In the format string, `%i` is used for `Object#to_s` (or `Object#inspect` if ‘+’ flag is set)...
silverhammermba (Max Anselm)
08:25 PM Bug #10453 (Rejected): NUM2CHR() does not perform additional bounds checks
`NUM2CHR()` just calls `rb_num2int_inline()` and masks off the high bytes. Consequently, passing any value larger tha... silverhammermba (Max Anselm)
07:25 PM Feature #10452 (Closed): Add documentation for Digest
* ext/digest/digest.c:
- remove HMAC from list of digest algorithms,
- add MD5 in list of digest algorithms,
...
sdaubert (Sylvain Daubert)
06:56 PM Feature #10451 (Closed): [PATCH 3/3] Implement Vector.independent? and Vector#independent?
Hi, Marc-André Lafortune.
I'm sorry for sending a bit lot of patches for the last few days.
This time, I've imp...
gogotanaka (Kazuki Tanaka)
03:19 PM Bug #10450 (Rejected): multiple assignment in conditional
multiple assignment is an expression whose value can be truthy (array) or falsy (nil, false), so why is there a restr... bughit (bug hit)
03:08 PM Bug #10449 (Closed): [TracePoint API] Duplicated line events when using parenthesis
Sometimes, when using parenthesis, I get duplicated lines events from the TracePoint API. See the failing test case, ... deivid (David Rodríguez)
03:01 PM Revision 19121b47 (git): * 2014-10-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:01 PM Revision 049bbd72 (git): parse.y: reset current_arg after block var
* parse.y (block_param_def): reset current_arg after block
parameter definition, not to warn references in that blo...
nobu (Nobuyoshi Nakada)
02:24 PM Revision 6fe9b2b7 (git): parse.y: warn iside a block
* parse.y (gettable_gen): also warn circular argument reference even
inside a block. [ruby-core:65990] [Bug #10314...
nobu (Nobuyoshi Nakada)
01:56 PM Feature #7793: New methods on Hash
Below is a summary of the different naming proposals so far in this thread, with links to the documentation for real-... Ajedi32 (Ajedi32 W)
01:23 PM Bug #10009: IO operation is 10x slower in multi-thread environment

Following script in python to buy blocking io python x ruby
Results:
ruby without changes TIME_QUANTUM_USEC (...
ariveira (Alexandre Riveira)
01:13 PM Bug #10009: IO operation is 10x slower in multi-thread environment
. ariveira (Alexandre Riveira)
12:13 PM Bug #10314 (Closed): Default argument lookup fails in Ruby 2.2 for circular shadowed variable names
Applied in changeset r48188.
----------
parse.y: warn circular argument reference
* parse.y (gettable_gen): warn ci...
nobu (Nobuyoshi Nakada)
10:46 AM Bug #10314 (Assigned): Default argument lookup fails in Ruby 2.2 for circular shadowed variable names
Maybe we need warning() strongly (without verbose).
ko1 (Koichi Sasada)
10:41 AM Bug #10314 (Rejected): Default argument lookup fails in Ruby 2.2 for circular shadowed variable names
In other part of Ruby, `foo = foo` makes foo to nil.
To get old behavior, try `foo = foo()`.
Matz.
matz (Yukihiro Matsumoto)
12:13 PM Revision 98ea6275 (git): parse.y: warn circular argument reference
* parse.y (gettable_gen): warn circular argument reference, for
transition from 2.1 and earlier. [ruby-core:65990]...
nobu (Nobuyoshi Nakada)
11:41 AM Revision d8270efc (git): parse.y: unused member
* parse.y (parser_params): remove unused member `cur_mid`.
this has been taken over by `in_def` since 1.6.
git-svn...
nobu (Nobuyoshi Nakada)
10:58 AM Bug #10447 (Closed): path name needs to be transcoded to OS path encoding.
バックポート用の備忘録です。
[ruby-list:49994] および r48186 を参照。
usa (Usaku NAKAMURA)
08:52 AM Feature #10098 (Assigned): [PATCH] Timing-safe string comparison for OpenSSL::HMAC
The latest patch seems satisfy nobu, doesn't it?
At last we need to get approved from Matz.
nagachika (Tomoyuki Chikanaga)
08:41 AM Misc #10446 (Closed): [PATCH] Quite little fix
I have to say sorry for such a little modification.
I've added only some periods.
I'm definitely not in a hurry. ...
gogotanaka (Kazuki Tanaka)
08:39 AM Bug #10239 (Assigned): Regexp.quote() and default encoding
I think this is intended behavior. nagachika (Tomoyuki Chikanaga)
08:30 AM Feature #10445 (Rejected): [PATCH 3/3] Extend Matrix#[]
I've made patches which Matrix#[] returns new vector if either arguments is range,
and returns new matrix, if both ...
gogotanaka (Kazuki Tanaka)
08:16 AM Feature #10444 (Rejected): [PATCH 3/3] Vector#[] returns new vector if argument is range.
Hi, it's incompatible change little bit.
Before
```
Vector[1,2,3][0..1]
=> [1, 2]
```
After
```
Vector[1...
gogotanaka (Kazuki Tanaka)
07:11 AM Feature #4938: Add Random.bytes [patch]
[email protected] wrote:
> File randombytes-ruby22.diff added

Looks good to me.
Any approval from matz ...
normalperson (Eric Wong)
05:38 AM Feature #4938: Add Random.bytes [patch]
I revised patch for Ruby 2.2. hsbt (Hiroshi SHIBATA)
03:13 AM Feature #4938: Add Random.bytes [patch]
I think there is no problems. nobu (Nobuyoshi Nakada)
02:59 AM Feature #4938: Add Random.bytes [patch]
Hi Nobu,
is there a reason not to commit this?
marcandre (Marc-Andre Lafortune)
05:58 AM Feature #10074: [PATCH] generalize Vector#cross_product
@Marc-Andre Lafortune
I'm really appreciate your help.
And your changes totally makes sense.
Thanks.
gogotanaka (Kazuki Tanaka)
02:53 AM Feature #10074 (Closed): [PATCH] generalize Vector#cross_product
marcandre (Marc-Andre Lafortune)
02:52 AM Feature #10074: [PATCH] generalize Vector#cross_product
I committed this change, with a couple of changes.
In particular, the sign was wrong for even dimensions. I change...
marcandre (Marc-Andre Lafortune)
05:44 AM Revision ef276e95 (git): load.c: transcode path
* load.c (rb_f_load): path name needs to be transcoded to OS path
encoding. [ruby-list:49994]
git-svn-id: svn+ssh...
nobu (Nobuyoshi Nakada)
05:44 AM Revision 5de3e7e2 (git): test_require.rb: rename
* test/ruby/test_require.rb (test_load_scope): rename and add
failure message.
git-svn-id: svn+ssh://ci.ruby-lang....
nobu (Nobuyoshi Nakada)
05:15 AM Bug #10430: Proc instead of String as error message doesn't work.
Kouhei Sutou wrote:
> I've released new test-unit gem. It support Proc as user_message.
>
> Should I update versi...
duerst (Martin Dürst)
03:15 AM Bug #10438: miniruby hangs on Mac 10.8.5 during build of ruby 2.1.4
Adding --with-setjmp-type=_setjmp to configure fixed my problem. I can compile, install, and make check passes as we... pedz (Perry Smith)
02:58 AM Bug #10438: miniruby hangs on Mac 10.8.5 during build of ruby 2.1.4
--gcc= and --cc= options to configure result in an error.
I did export CC=.... before the configure and that took ...
pedz (Perry Smith)
02:48 AM Bug #10438 (Closed): miniruby hangs on Mac 10.8.5 during build of ruby 2.1.4
Applied in changeset r48184.
----------
configure.in: fix for old Apple compilers
* configure.in (__builtin_setjmp)...
nobu (Nobuyoshi Nakada)
03:02 AM Feature #10354: Optimize Integer#prime?
Dear Yugui,
Do you have an objection that I commit my fixes (which are really bug fixes) while you decide if you w...
marcandre (Marc-Andre Lafortune)
02:55 AM Feature #10058 (Closed): [PATCH] Fix some coding styles
marcandre (Marc-Andre Lafortune)
02:54 AM Feature #10352 (Closed): Give alias Vector#inner_product and Vector#cross_product
marcandre (Marc-Andre Lafortune)
02:54 AM Feature #10056 (Closed): [PATCH 0/1]Add #adjugate method to matrix class
Committed, thanks for this request! marcandre (Marc-Andre Lafortune)
02:48 AM Bug #10272 (Closed): miniruby hangs on Mac OS X 10.7
Applied in changeset r48184.
----------
configure.in: fix for old Apple compilers
* configure.in (__builtin_setjmp)...
nobu (Nobuyoshi Nakada)
02:48 AM Revision 6c6d4da2 (git): configure.in: fix for old Apple compilers
* configure.in (__builtin_setjmp): disable with gcc/clang earlier
than 4.3 on Mac OS X. [ruby-core:65174] [Bug #10...
nobu (Nobuyoshi Nakada)
02:43 AM Revision aa87ea99 (git): * lib/matrix.rb: Generalize Vector#cross_product to arbitrary dimensions
based on a patch by gogo tanaka [#10074]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48183 b2dd03c8-39d4-4d8f-...
Marc-Andre Lafortune
02:43 AM Revision 764524f6 (git): * lib/matrix.rb: Add Matrix#adjucate
patch by gogo tanaka [#10056]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48182 b2dd03c8-39d4-4d8f-98ff-823fe6...
Marc-Andre Lafortune
02:42 AM Revision dc38c877 (git): * lib/matrix.rb: Add aliases for Vector#cross & dot
patch by gogo tanaka [#10352]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48181 b2dd03c8-39d4-4d8f-98ff-823fe6...
Marc-Andre Lafortune
01:04 AM Feature #10440: Optimize keyword and splat argument
Koichi, you haven't described incompatibility. Does that mean no behavior change?
If so, go ahead and make it fast. ...
matz (Yukihiro Matsumoto)
01:00 AM Revision 9419ecc6 (git): * gems/bundled_gems: Update latest version of bundled gems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
12:49 AM Feature #10378: [PATCH 0/3] It's better (1 + 0i).real? return true
FYI, on Julia:
```
julia> VERSION
v"0.3.1"
julia> Complex(1.0,-0.0)
1.0 - 0.0im
julia> 1.0-0.0im
1.0 - 0...
t-nissie (Takeshi Nishimatsu)

10/28/2014

11:31 PM Feature #10440: Optimize keyword and splat argument
Cool.
My only concern is making call_info and iseq structs bigger.

I think most of the iseq->arg_keyword_* field...
normalperson (Eric Wong)
09:39 AM Feature #10440: Optimize keyword and splat argument
I support fastpath for yield.
I updated benchmark (show in below) includes yield().
```
# trunk
...
ko1 (Koichi Sasada)
06:19 AM Feature #10440 (Closed): Optimize keyword and splat argument
# Abstract
Change data structure of call_info and rewrite all of method argument fitting code to optimize keyword ...
ko1 (Koichi Sasada)
10:25 PM Bug #10430: Proc instead of String as error message doesn't work.
Kouhei Sutou wrote:
> I've released new test-unit gem. It support Proc as user_message.
Great, thanks!
> Shoul...
duerst (Martin Dürst)
02:57 PM Bug #10430: Proc instead of String as error message doesn't work.
I've released new test-unit gem. It support Proc as user_message.
Should I update version in gems/bundled_gems?
kou (Kouhei Sutou)
09:24 AM Bug #10430 (Open): Proc instead of String as error message doesn't work.
duerst (Martin Dürst)
06:10 AM Bug #10430: Proc instead of String as error message doesn't work.
Nobuyoshi Nakada wrote:
> Because the discussion about standard test libraries has not landed yet.
> Sutou-san said...
duerst (Martin Dürst)
05:00 AM Bug #10430: Proc instead of String as error message doesn't work.
Because the discussion about standard test libraries has not landed yet.
Sutou-san said he will fix so that user_mes...
nobu (Nobuyoshi Nakada)
02:07 AM Bug #10430: Proc instead of String as error message doesn't work.
Nobuyoshi Nakada wrote:
> Martin Dürst wrote:
> > Third, test-all is very good to have, but it's too slow when I kn...
duerst (Martin Dürst)
09:52 PM Bug #10443: Forking with contended mutex held can lead to deadlock in child process upon unlock
For now, I think leaking some lock/cond resources at fork is the easiest
option. Leaking is better than deadlocking...
normalperson (Eric Wong)
08:32 PM Bug #10443: Forking with contended mutex held can lead to deadlock in child process upon unlock
Thanks for the test case, I can reproduce it easily.
Hopefully I can fix it soon.
normalperson (Eric Wong)
07:03 PM Bug #10443: Forking with contended mutex held can lead to deadlock in child process upon unlock
The original test case was not actually minimal (there's no need to attempt to re-acquire the lock in the forked chil... benweint (Ben Weintraub)
03:42 PM Bug #10443 (Closed): Forking with contended mutex held can lead to deadlock in child process upon unlock
If a Ruby thread calls `Process.fork` while holding a Mutex (for example, within a `Mutex#synchronize` block) that is... benweint (Ben Weintraub)
08:55 PM Bug #10438: miniruby hangs on Mac 10.8.5 during build of ruby 2.1.4
Thank you.
Possibly, it depends on the versions of based GCC?
Worked fine on 10.7 (11.4.2) with MacPorts gcc 4.7....
nobu (Nobuyoshi Nakada)
03:35 PM Bug #10438: miniruby hangs on Mac 10.8.5 during build of ruby 2.1.4
I met same problem with clang compiler on OS X 10.7.
It looks configure script detects wrong RUBY_SETJMP() and RUB...
kimuraw (Wataru Kimura)
01:33 PM Bug #10438 (Feedback): miniruby hangs on Mac 10.8.5 during build of ruby 2.1.4
nagachika (Tomoyuki Chikanaga)
01:32 PM Bug #10438 (Closed): miniruby hangs on Mac 10.8.5 during build of ruby 2.1.4
Applied in changeset ruby-21:r48177.
----------
merge revision(s) r48174: [Backport #10438]
* configure.in: remove...
nagachika (Tomoyuki Chikanaga)
01:29 PM Bug #10438: miniruby hangs on Mac 10.8.5 during build of ruby 2.1.4
Hello, Perry.
Thank you for your report.
This could be related with homebrew apple-gcc42 thing.
Please try confi...
nagachika (Tomoyuki Chikanaga)
02:55 AM Bug #10438 (Closed): miniruby hangs on Mac 10.8.5 during build of ruby 2.1.4
I am trying to make ruby 2.1.4 on a Mac 10.8.5 and the call to miniruby to update rbconfig.rb hangs.
When I attach...
pedz (Perry Smith)
06:40 PM Revision 1bff9edf (git): * 2014-10-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:40 PM Feature #9345 (Closed): [PATCH] signal.c: avoid repeated disable/enable interrupt
Applied in changeset r48178.
----------
signal.c: avoid repeated disable/enable interrupt
We only install system-le...
Anonymous
06:39 PM Revision cbb79f04 (git): signal.c: avoid repeated disable/enable interrupt
We only install system-level signal handlers during init (before any
threads or user code is running), so there's no ...
Eric Wong
04:22 PM Feature #10378: [PATCH 0/3] It's better (1 + 0i).real? return true
@Takeshi Nishimatsu san
Thank you for your comments and sharing good article.
From this article, your point-out m...
gogotanaka (Kazuki Tanaka)
08:39 AM Feature #10378: [PATCH 0/3] It's better (1 + 0i).real? return true
Objection.
Especially for Float, Complex(1.0,0.0) and Complex(1.0,-0.0) have meanings:
sqrt[-x+i(+0)]=i*sqrt(x)
...
t-nissie (Takeshi Nishimatsu)
02:07 PM Feature #10442 (Closed): Helper methods to Vector class
Vector class missed some very helpful methods like angle between another vector and vector projection.
Patch attac...
Clamoris (Egunov Dmitriy)
02:01 PM Bug #10441 (Rejected): Wrong required argument count reported for **kwargs method ArgumentErrors
When collecting excess keyword arguments, Ruby's ArgumentError message doesn't count the `**kwargs` as possible argum... jxf (John Feminella)
01:32 PM Revision f14cc4d3 (git): merge revision(s) r48174: [Backport #10438]
* configure.in: remove apple-gcc4.2 from CC candidates.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2...
nagachika (Tomoyuki Chikanaga)
01:20 PM Revision 4ca19ae4 (git): * version.h (RUBY_VERSION): bump RUBY_VERSION to 2.1.5.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@48176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
10:27 AM Feature #10391: Provide %eISO-8859-1'string \xAA literal' string literals with explicit encoding
It is useful when string literals are frozen.
So I think this feature is good to have.
The syntax is a problem, tho...
akr (Akira Tanaka)
08:33 AM Feature #8848: Syntax for binary strings
Eric Wong wrote:
> We can even go farther than #10423 and move the evaluation of
> "string literal".{b,encode,f...
duerst (Martin Dürst)
08:29 AM Feature #9816: 文字列内の数字を数値として比較するメソッド
Akira Tanaka wrote:
> やはり仕様をちゃんと書くというところに向き合うべきではないのかなぁ、
> と思います。
いや、仕様はそれなりに書いてあるぽいですね。読み方が甘かったです。
akr (Akira Tanaka)
08:20 AM Feature #9816: 文字列内の数字を数値として比較するメソッド
Gem::Version と同じっていうのは本当なんですかね。
とりあえず追記されたという部分の例を Gem::Version でやってみると
結果が一致しないんですが。
```
% ruby -e 'p Gem::V...
akr (Akira Tanaka)
07:59 AM Feature #9816: 文字列内の数字を数値として比較するメソッド
こんな感じで追記してみました
~~~
+ * call-seq:
+ * str.versioncmp(other_str) -> -1, 0, +1 or nil
+ *
+ * Compare str...
naruse (Yui NARUSE)
07:22 AM Bug #10435 (Closed): ruby -c file can run.
Applied in changeset r48175.
----------
ruby.c: no -r when dump
* ruby.c (process_options, load_file_internal2): sh...
nobu (Nobuyoshi Nakada)
01:19 AM Bug #10435 (Closed): ruby -c file can run.
ruby -c file としたときに、実行が起きてしまうことがあるようです。
```
% cat z.rb
#! /usr/bin/env ruby -r./z
p :run
% ruby -vc z.rb
ru...
akr (Akira Tanaka)
07:22 AM Revision 4079a354 (git): ruby.c: no -r when dump
* ruby.c (process_options, load_file_internal2): should not
require other files when dump option is given.
[ruby-...
nobu (Nobuyoshi Nakada)
05:52 AM Revision c98b8d62 (git): * configure.in: remove apple-gcc4.2 from CC candidates.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:43 AM Revision ac96c3f6 (git): * version.h: forgotten to bump patchlevel.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@48173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
04:38 AM Revision 7c30cdc5 (git): * 2014-10-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@48172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:38 AM Revision cc9b047c (git): * test/rexml/test_document.rb: fix typo (patch mistake).
reported and patched by Jeremy Evans at [Bug #10439]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_...
U.Nakamura
03:30 AM Bug #10416: Create mechanism for updating of Unicode data files downstreams when we want
Yui NARUSE wrote:
> For years, file structures of Unicode Data was changed some times.
> Therefore there's no guarant...
duerst (Martin Dürst)
02:53 AM Revision 4da322ed (git): * 2014-10-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:53 AM Revision b5524d9f (git): eventids2.c: reduce size
* ext/ripper/eventids2.c (token_assoc): reduce size. unsigned
short can hold 65535 at least.
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)
02:38 AM Bug #10437 (Closed): ruby -c and ripper inconsistency: /*/
/*/ という、間違った regexp リテラルは
ruby -c ではちゃんとエラーになるのですが、
Ripper.sexp ではエラーになりません。
```
% cat z.rb
/*/
% ruby -c z.r...
akr (Akira Tanaka)
01:24 AM Bug #10436 (Closed): ruby -c and ripper inconsistency: m(&nil) {}
m(&nil) {} というまちがったコードは
ruby -c でちゃんとエラーになるのに、
Ripper.sexp ではならないようです。
```
% cat z.rb
m(&nil) {}
% ruby -c z...
akr (Akira Tanaka)

10/27/2014

06:43 PM Feature #8848: Syntax for binary strings
[email protected] wrote:
> One reason for this efficiency. String#b creates a duplicate object,
> which is no...
normalperson (Eric Wong)
01:33 PM Bug #10430 (Closed): Proc instead of String as error message doesn't work.
Martin Dürst wrote:
> Third, test-all is very good to have, but it's too slow when I know which tests I need to run....
nobu (Nobuyoshi Nakada)
09:03 AM Bug #10430 (Assigned): Proc instead of String as error message doesn't work.
Nobuyoshi Nakada wrote:
> `test-all` should use libraries under `test/lib`, not the gems.
First, I haven't used t...
duerst (Martin Dürst)
07:19 AM Bug #10430 (Feedback): Proc instead of String as error message doesn't work.
`test-all` should use libraries under `test/lib`, not the gems.
Do you set RUBYOPT?
nobu (Nobuyoshi Nakada)
06:18 AM Bug #10430: Proc instead of String as error message doesn't work.
Nobuyoshi Nakada wrote:
> It worked for me.
> Seems a different library is used?
This is one possibility. But ...
duerst (Martin Dürst)
04:00 AM Bug #10430: Proc instead of String as error message doesn't work.
It worked for me.
~~~
[29/47] TestNormalize#test_normalize_to_NFKC_from_NFC_with_nfkc = 0.01 s
1) Fai...
nobu (Nobuyoshi Nakada)
01:05 AM Bug #10430 (Closed): Proc instead of String as error message doesn't work.
Revision r48113 introduced Procs to delay time-consuming generation of error messages. This is a good idea, but it do... duerst (Martin Dürst)
01:05 PM Bug #10416: Create mechanism for updating of Unicode data files downstreams when we want
For years, file structures of Unicode Data was changed some times.
Therefore there's no guarantee that Unicode 12 ca...
naruse (Yui NARUSE)
01:04 PM Revision d3dc6735 (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:08 PM Bug #10434 (Closed): fix TestBugReporter#test_bug_reporter_add failure on Yosemite (fixed at r46397)
バックポート管理用のチケットです。
Yosemite で DignosticReport ディレクトリに .plist ファイルを作らなくなったことに対応するテストの修正です。
nagachika (Tomoyuki Chikanaga)
11:24 AM Revision 10f820b1 (git): merge revision(s) 48161:
* lib/rexml/entity.rb: keep the entity size within the limitation.
reported by Willis Vandevanter <will@sil...
U.Nakamura
11:23 AM Revision d86ba46a (git): merge revision(s) r48161:
* lib/rexml/entity.rb: keep the entity size within the limitation.
reported by Willis Vandevanter <will@sil...
nagachika (Tomoyuki Chikanaga)
11:22 AM Revision 61ff012d (git): merge revision(s) 48161:
* lib/rexml/entity.rb: keep the entity size within the limitation.
reported by Willis Vandevanter <will@sil...
U.Nakamura
11:18 AM Revision 9cdd297a (git): * lib/rexml/entity.rb: keep the entity size within the limitation.
reported by Willis Vandevanter <[email protected]> and
patched by nahi.
git-svn-id: svn+ssh://ci.ruby-lang.or...
U.Nakamura
08:57 AM Bug #10433 (Closed): make test-all stops at [ 401/16011] FTPTest#test_list_read_timeout-exceeded
When I execute
make test-all
it stops at
[ 401/16011] FTPTest#test_list_read_timeout-exceeded
for at least...
duerst (Martin Dürst)
08:17 AM Bug #10432 (Closed): wrong receiver of Binding from Method
Applied in changeset r48160.
----------
proc.c: fix method proc binding receiver
* proc.c (method_proc): the receiv...
nobu (Nobuyoshi Nakada)
08:07 AM Bug #10432 (Closed): wrong receiver of Binding from Method
Methodオブジェクトから`to_proc.binding`で作られたBindingのreceiverが、Methodオブジェクトの元になったオブジェクトではなく、Methodオブジェクトになっています。
~~~ruby
c...
nobu (Nobuyoshi Nakada)
08:17 AM Revision e45b215f (git): proc.c: fix method proc binding receiver
* proc.c (method_proc): the receiver of binding from method should
be same as the receiver of the method.
[ruby-c...
nobu (Nobuyoshi Nakada)
08:12 AM Revision 9bcf16f0 (git): proc.c: local variable
* proc.c (proc_binding): extract a local variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48159 b2dd03c8-...
nobu (Nobuyoshi Nakada)
07:29 AM Revision ed8da2d1 (git): * test/ruby/test_super.rb: add a test to check block passing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
07:02 AM Revision 3edcd548 (git): * gc.c: is_incremental_marking(), will_be_incremental_marking():
use `&&' with GC_ENABLE_INCREMENTAL_MARK intead of using
#if/#else/#endif.
git-svn-id: svn+ssh://ci.ruby-lang.or...
ko1 (Koichi Sasada)
06:50 AM Revision 1b132cb2 (git): eventids2.c: reduce size
* ext/ripper/eventids2.c (token_to_eventid): reduce relocations
and element size.
git-svn-id: svn+ssh://ci.ruby-la...
nobu (Nobuyoshi Nakada)
06:38 AM Revision 92c61ca7 (git): ripper/tools/generate.rb: shorten generated source
* ext/ripper/tools/generate.rb (generate_eventids1): shorten
generated source.
* ext/ripper/tools/generate.rb (gen...
nobu (Nobuyoshi Nakada)
06:25 AM Revision d8e1bf27 (git): id.h.tmpl: ANDOP and OROP
* template/id.h.tmpl (token_op_ids): define && and || for ripper.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
nobu (Nobuyoshi Nakada)
06:23 AM Revision 5a277b40 (git): parse.y: optimize IDs in ripper
* parse.y: optimize ripper_intern calls, ::, **, -@, +@, <=>, >=,
<=, ==, ===, !=, =~, !~, <<, >>, and call.
* par...
nobu (Nobuyoshi Nakada)
06:16 AM Revision fc9fffca (git): symbol.h: optimize ID2SYM
* symbol.h (rb_id2sym): optimize for predefined IDs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48152 b2dd03c...
nobu (Nobuyoshi Nakada)
05:53 AM Revision ce9fc203 (git): test_parser_events.rb: split test_binary
* test/ripper/test_parser_events.rb (test_binary): split for each
operators.
git-svn-id: svn+ssh://ci.ruby-lang.or...
nobu (Nobuyoshi Nakada)
04:40 AM Bug #10431 (Closed): Can't sweep garbage object immediatly when GC_ENABLE_LAZY_SWEEP=0
Applied in changeset r48150.
----------
gc.c: fix no lazy sweep mode
* gc.c (gc_sweep_rest): sweep rest pages regar...
nobu (Nobuyoshi Nakada)
04:17 AM Bug #10431: Can't sweep garbage object immediatly when GC_ENABLE_LAZY_SWEEP=0
r41510でis_lazy_sweeping()を使うようになり、その後r47444でis_lazy_sweeping()が変更されたときの見落としのようです。 nobu (Nobuyoshi Nakada)
02:50 AM Bug #10431 (Closed): Can't sweep garbage object immediatly when GC_ENABLE_LAZY_SWEEP=0
GC_ENABLE_LAZY_SWEEP=0と設定してrubyをビルドし,以下のコードを
実行した場合,GC時にオブジェクトが解放されていないように見えます.
~~~
$ ../configure CFLAGS="-DGC...
imasahiro (Masahiro Ide)
04:40 AM Revision 202b4bbe (git): gc.c: fix no lazy sweep mode
* gc.c (gc_sweep_rest): sweep rest pages regardless of whether
lazy sweep is enabled or not. based on the patch by...
nobu (Nobuyoshi Nakada)
04:28 AM Bug #10421: BasicObject継承クラスで object_id メソッドを定義すると redefining ... 警告が出る
Backported into `ruby_2_0_0` at r48149. usa (Usaku NAKAMURA)
04:28 AM Revision 2c31816f (git): merge revision(s) 48111,48118,48120: [Backport #10421]
* vm_method.c (rb_method_entry_make): warn redefinition only for
already defined methods, but not for undef...
U.Nakamura
02:34 AM Revision 4f517abf (git): * 2014-10-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:33 AM Revision bebd27b0 (git): test/ruby/test_process.rb: reduce garbage during forks
* test/ruby/test_process.rb (test_deadlock_by_signal_at_forking):
reduce garbage during forks
This seems to reduce...
Eric Wong

10/26/2014

08:50 PM Feature #8976: file-scope freeze_string directive
Eric Wong wrote:
>
> Right, "...".freeze is too ugly IMHO. Ruby should stay beautiful :)
Agreed.
> I als...
akr (Akira Tanaka)
05:17 PM Bug #10429 (Closed): Ruby 2.x exponents produce wildly varying precision for integers vs decimals
## 2.0.0
```
> 1.1.to_d ** -1.9999999
=> #<BigDecimal:7fdcc1fcdfa0,'0.8264462888 68609939E0',18(45)>
> 1.1.to_d...
dresselm (Matt Dressel)
03:58 PM Bug #9005: object.send(:define_method, ...){...} creates private method
Scott Tamosunas wrote:
> This isn't fixed on 2.1.3. Has that changeset not made it into a release?
>
> ```
> 2....
jeremyevans0 (Jeremy Evans)
11:30 AM Bug #10428 (Closed): Segmentation fault when modifying local variables of binding obtained from the result of Method#to_proc
The issue pops up when Method#to_proc is called, then the binding of that proc is obtained, and one tries to modify (... Anonymous
06:53 AM Revision 512c0364 (git): commit miss
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
06:29 AM Feature #10378: [PATCH 0/3] It's better (1 + 0i).real? return true
Tsuyoshi Sawada さん
こんにちは. 22年間誤用しておりました.. お恥ずかしい.
ご指摘をするのも心苦しいと察します、わざわざお伝え頂けるとは本当に嬉しく思います.
お陰さまで苦手な英語を一歩前進させる...
gogotanaka (Kazuki Tanaka)
04:12 AM Feature #10378: [PATCH 0/3] It's better (1 + 0i).real? return true
gogo tanakaさん、
他スレッドでのコメントありがとうございます。
sawa (Tsuyoshi Sawada)
03:22 AM Feature #10378: [PATCH 0/3] It's better (1 + 0i).real? return true
There are not any arguments or opinions, I've made patches(implement, test, updating NEWS ) anyway.
Please check i...
gogotanaka (Kazuki Tanaka)
06:19 AM Bug #10427 (Third Party's Issue): The WebKit of QtRuby crashed
require "Qt4"
require "qtwebkit"
app=Qt::Application.new []
view=Qt::WebView.new
view.setUrl Qt::Url.new "http://...
mopperwhite (Mopper White)
03:26 AM Revision 68e19ae8 (git): template/insns.inc.tmpl, insns_info.inc.tmpl, known_errors.inc.tmpl,
minsns.inc.tmpl: fixed path of generating script.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48145 b2dd03c8-3...
duerst (Martin Dürst)
03:24 AM Bug #10405 (Closed): syntax error inconsistency between ruby -c and ripper
Applied in changeset r48144.
----------
parse.y: Ripper.sexp returns error
* ext/ripper/lib/ripper/sexp.rb (Ripper....
nobu (Nobuyoshi Nakada)
03:24 AM Revision d1ec43ae (git): parse.y: Ripper.sexp returns error
* ext/ripper/lib/ripper/sexp.rb (Ripper.sexp, Ripper.sexp_raw):
return nil on error. [ruby-dev:48678] [Bug #10405]...
nobu (Nobuyoshi Nakada)
03:22 AM Revision 3bf0628a (git): ChangeLog: remove conflict mark
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:24 AM Revision d26c4965 (git): string.c: improved comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
02:16 AM Feature #10426: A predicate to express congruence
@Tsuyoshi Sawada san
I like it.
One thing I'm a little worried about is `congruent?` might be too specified word....
gogotanaka (Kazuki Tanaka)
12:55 AM Feature #10426 (Open): A predicate to express congruence
I occasionally felt the necessity of a predicate that checks congruence with respect to some operations:
~~~ruby
...
sawa (Tsuyoshi Sawada)
01:47 AM Feature #10425: A predicate method to tell if a number is near another
Such a predicate would indeed be convenient. But sometimes, one doesn't want to compare with an absolute epsilon, but... duerst (Martin Dürst)
12:40 AM Feature #10425: A predicate method to tell if a number is near another
The definition above is just to illustrate the functions. There may be a better implementation. Especially, an approp... sawa (Tsuyoshi Sawada)
12:38 AM Feature #10425 (Open): A predicate method to tell if a number is near another
A method `near?` like the following would be useful.
~~~ruby
class Numeric
def near? other, delta: Float::EPSIL...
sawa (Tsuyoshi Sawada)
01:32 AM Feature #10423: [PATCH] opt_str_lit*: avoid literal string allocations
It looks like Flonum was hiding my bug in on 64-bit systems :x
fix for 32-bit here:
~~~diff
--- a/compile.c
+++...
normalperson (Eric Wong)
 

Also available in: Atom