Project

General

Profile

Activity

From 06/28/2013 to 07/04/2013

07/04/2013

11:33 PM Bug #8538: c method not pushed into the callstack when called, but popped when returned
=begin
Maybe the granularity requested in my previous message implies more work. I would be fine with just correcting the inconsistent behaviour by not popping from the stack when returning from `initialize`. The expected output in this...
deivid (David Rodríguez)
09:04 PM Revision c97c7850 (git): * bignum.c (BARY_MUL1): Renamed from BARY_MUL.
(bary_mul1): Renamed from bary_mul.
(bary_mul): Renamed from bary_mul2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
08:31 PM Revision c3111343 (git): * bignum.c (bary_mul_balance): Extracted from bigmul1_balance and
use bary_mul2 and bary_add to decrease allocations.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
05:22 PM Revision a0011cd5 (git): * lib/fileutils.rb (FileUtils.chmod{,_R}): Enhance the symbolic
mode parser to support the permission symbols u/g/o and multiple
actions as defined in SUS, so that chmod("g=o+w", file) works as
expected. Invalid symbolic modes are now rejected with
ArgumentError.
git-svn-id: svn+ssh://ci.ruby...
Akinori MUSHA
05:22 PM Revision 45116b6a (git): * lib/fileutils.rb (FileUtils#symbolic_modes_to_i): Fix the wrong
character class [+-=], which happened to match all desired
characters but also match undesired characters.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
04:30 PM Revision 16f70c0e (git): merge revision(s) 41764,41765,41767: [Backport #8583]
* regcomp.c (): Merge Onigmo 5.13.5 23b523076d6f1161.
https://bugs.ruby-lang.org/issues/8583
* [bug] (thanks Akinori MUSHA and Ippei Obayashi)
Fix a renumbering bug in condition regexp with a named...
nagachika (Tomoyuki Chikanaga)
03:29 PM Revision ab7d6086 (git): mkmf.rb: old syntax
* lib/mkmf.rb (have_framework): get rid of newer syntax to run with
ruby 1.8 for cross compiling. [ruby-core:55745] [Bug #8593]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:25 PM Revision f76fe000 (git): * 2013-07-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:25 PM Revision 5d572309 (git): mkmf.rb: header in framework
* lib/mkmf.rb (have_framework): allow header file to check.
[ruby-core:55745] [Bug #8593]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:41 PM Revision 4e681d97 (git): bignum.c: constify
* bignum.c: constify maxpow tables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:31 PM Revision 3d8deb6e (git): * object.c (rb_obj_equal): Fixed an rb_obj_equal documentation typo
where "a" was used instead of "obj".
Fixes GH-349. Patch by @adnandoric
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Charlie Somerville
11:40 AM Revision 2e44efd4 (git): * tool/make-snapshot: Exit with EXIT_FAILURE when it fails.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:23 AM Revision 313cdec1 (git): * bignum.c (maxpow_in_bdigit_dbl): Use tables if available.
(maxpow_in_bdigit): Ditto.
(U16): New macro.
(U32): Ditto.
(U64): Ditto.
(U128): Ditto.
(maxpow16_exp): New table.
(maxpow16_num): New table.
(maxpow32_exp): New table.
(maxpow32_num): New table.
(maxpow64_exp): New tab...
akr (Akira Tanaka)
10:04 AM Feature #8600 (Rejected): Recognize variables declared in if modifier at end of line
Variables are declared in the order of appearance. I don't want to introduce exceptions.
Matz.
matz (Yukihiro Matsumoto)
02:33 AM Feature #8600: Recognize variables declared in if modifier at end of line
Or maybe because it would be too complex to change the parser to support that? Now I'm not sure about the reasons... rosenfeld (Rodrigo Rosenfeld Rosas)
02:32 AM Feature #8600: Recognize variables declared in if modifier at end of line
A long-time +1, but if I remember correctly Matz doesn't want this because it could introduce backward incompatibility... rosenfeld (Rodrigo Rosenfeld Rosas)
01:29 AM Feature #8600 (Rejected): Recognize variables declared in if modifier at end of line
=begin
2.0.0 (main):0 > .ruby -v
ruby 2.0.0p195 (2013-05-14 revision 40734) [x86_64-darwin12.3.0]
2.0.0 (main):0 > ([0,1,2])[i] = 1.0 if i = ['seconds'].find_index('seconds')
NameError: undefined local variable or method `i' for ...
rudolph9 (Kurt Rudolph)
09:38 AM Revision fd8f2338 (git): * bignum.c (rb_cstr_to_inum): Avoid temporary buffer allocation except
very big base non-power-of-2 numbers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
08:06 AM Bug #8374: race condition when two threads require a gem
This is reproducible without a C extension, updated subject. drbrain (Eric Hodel)
07:36 AM Bug #8599 (Rejected): CSV module - error when trying to set backslash as quote_char
Okay to close? sorah (Sorah Fukumori)
07:03 AM Revision 0eed101a (git): test/mkmf: $extmk in parallel test
* test/mkmf/base.rb, test/mkmf/test_config.rb: needs to set $extmk
since worker processes in parallel test mode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:03 AM Revision a5361435 (git): test_have_library.rb: toolchains result
* test/mkmf/test_have_library.rb (create_library): check if toolchains
work.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:03 AM Revision 246c66f7 (git): mkmf.rb: CONFTEST
* lib/mkmf.rb (CONFTEST): constify hardcoded filename.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:52 AM Revision 05bc4777 (git): * string.c (rb_str_succ): use ONIGENC_MBCLEN_CHARFOUND_P correctly.
* string.c (rb_str_dump): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:32 AM Revision c294ed58 (git): test_regexp.rb: test for conditional expression
* test/ruby/test_regexp.rb (TestRegexp#test_conditional_expression):
test for [Bug #8583]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:53 AM Revision fa7e5146 (git): Fixing example in comments that raised an error by @JackDanger [fix GH-345]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
02:09 AM Bug #8594: [BUG] rb_update_max_fd: invalid fd (4) given
Maybe because you are on Unix platform and the bug reporter on Win32 platform ! :)
It would be better IMHO to try to reproduce it on win32.
cedric.brancourt (Cedric Brancourt)
01:39 AM Revision 60c90330 (git): Additional description for r41764
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:16 AM Revision d39f1964 (git): * regcomp.c (): Merge Onigmo 5.13.5 23b523076d6f1161.
https://bugs.ruby-lang.org/issues/8583
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
01:11 AM Revision f23fe319 (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:10 AM Feature #8229: extend Hash.include?
I think this would be more interesting if in the form:
h = { a: 'b', c: { d: 'e' } }
h.include?({c: { d: 'e' } }) # => true
It would accept a hash and check whether h includes that hash.
fuadksd (Fuad Saud)

07/03/2013

11:44 PM Bug #6862: BigMath.exp negative exponent
mame (Yusuke Endoh) wrote:
> So phasis68 should have a commit bit, as I said. ;-)
+1
mrkn (Kenta Murata)
11:41 PM Bug #7968: Poor UDPSocket#send performance in ruby 2.0.0 on windows
Any update on this?
Thanks
Alan
cs96and (Alan Davies)
10:39 PM Bug #8599: CSV module - error when trying to set backslash as quote_char
Actually, I mistook quote_char for escape_char. Setting a backslash as quote_char is probably not a desired feature. I was looking for a way to escape double quotes differently than using two double quotes. Sorry for the noise. lhm (Lars Mai)
10:16 PM Bug #8599 (Rejected): CSV module - error when trying to set backslash as quote_char
=begin
There may be a bug in the CSV module. I found it impossible to set the backslash as quote_char, trying so gives the following:
1.9.3-p392 :055 > out = CSV.new($stdout, quote_char: "\\")
RegexpError: premature end of char-cl...
lhm (Lars Mai)
08:27 PM Feature #8598 (Open): Expose information whether a timezone offset has been explicitly set on DateTime object
For some applications it would be beneficial if Ruby would expose information on whether a DateTime object has an explicitly set timezone offset. An application might want to use DateTimes that don't concern themselves with timezone offs... gpoul (Gerhard Poul)
06:53 PM Feature #8568: Introduce RbConfig value for native word size, to avoid Fixnum#size use
2013/7/3 nobu (Nobuyoshi Nakada) <[email protected]>:

> RbConfig is a module, so `RbConfig.[]` doesn't seem good.
> What about `RbConfig::SIZEOF` instead?

No problem.

They would be useful for ioctl and socket option.
...
akr (Akira Tanaka)
05:03 PM Feature #8568: Introduce RbConfig value for native word size, to avoid Fixnum#size use
naruse (Yui NARUSE) wrote:
> > I'm curious for what purpose people use that size.
> ...
I can't see any needs in ruby level there.
nobu (Nobuyoshi Nakada)
04:56 PM Feature #8568: Introduce RbConfig value for native word size, to avoid Fixnum#size use
akr (Akira Tanaka) wrote:
> Although "word" is ambiguous, providing sizeof(long), sizeof(char*),
> ...
RbConfig is a module, so `RbConfig.[]` doesn't seem good.
What about `RbConfig::SIZEOF` instead?
nobu (Nobuyoshi Nakada)
06:13 PM Bug #8115 (Closed): make install DESTDIR=/my/install/path fails
This issue was solved with changeset r41756.
Vit, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
mkmf.rb: revert DESTDIR prefix
* lib/mkmf.rb (install_dirs): reve...
nobu (Nobuyoshi Nakada)
04:14 PM Bug #8584: Remove curses
drbrain (Eric Hodel) wrote:
> I would not mind being a maintainer of a curses gem.
Thank you!
It might be better to move from <https://github.com/shugo/curses> to <https://github.com/ruby/curses>.
shugo (Shugo Maeda)
02:17 PM Bug #8584: Remove curses
I would not mind being a maintainer of a curses gem. drbrain (Eric Hodel)
03:36 PM Revision d1e0cc27 (git): internal.h: supperss warning
* internal.h (SIGNED_INTEGER_MAX): supperss warning C4146 on VC6.
seems a logical ORed expression becomes unsigned.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:13 PM Revision c352ba8b (git): * 2013-07-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:13 PM Revision 15d44509 (git): ruby_atomic.h: ATOMIC_CAS on VC6
* ruby_atomic.h (rb_w32_atomic_cas): call InterlockedCompareExchange
directly.
* ruby_atomic.h (ATOMIC_CAS): fix missing function call.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:54 PM Bug #8591: [BUG] Segmentation fault ruby 2.0.0p195 (2013-05-14) [x64-mingw32]
The libmysql.lib included in the MySQL Connector/C 64 bit is not compatible with the mingw64-gcc compiler.
You need to generate mingw64 compatible libmysql.lib file.
To generate libmysql.lib file, you need gendef.exe, which can obt...
phasis68 (Heesob Park)
12:54 PM Bug #8591 (Third Party's Issue): [BUG] Segmentation fault ruby 2.0.0p195 (2013-05-14) [x64-mingw32]
It seems like a problem of mysql2.
see also https://github.com/brianmario/mysql2/issues/372
nagachika (Tomoyuki Chikanaga)
02:47 PM Revision b12ffcb1 (git): ruby_atomic.h: suppress warnigns
* ruby_atomic.h (ATOMIC_CAS): suppress C4022 and C4047 warnings in
VC6. only InterlockedCompareExchange is declared using PVOID.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:36 PM Revision 4090bd7b (git): merge revision(s) 41734,41737: [Backport #8596]
* lib/mkmf.rb (try_config): Fix to not replace $LDFLAGS with $libs
(1.9.3 behavior) [ruby-core:55752] [Bug #8595]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@41758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
02:24 PM Bug #8464: IPAddr cannot parse link-local IPv6 address.
Thanks to the recently added Socket.getifaddrs we now have the ability to map scope names to interface ids for use in IPv6 multicast, for example. drbrain (Eric Hodel)
11:59 AM Bug #8464 (Feedback): IPAddr cannot parse link-local IPv6 address.
IPAddr currently does not support scope ID's.
Making IPAddr deal with scope ID's would mean a lot more than just ignoring it (starting with adding #scope_id).
If you are going to request such a feature, you'll have to investigate, fo...
knu (Akinori MUSHA)
02:15 PM Bug #8597 (Closed): Unexpected result of Dir.glob of '<' or '>' on Windows
This issue was solved with changeset r41755.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
dir.c: get rid of FindFirstFile bug
* dir.c (do_stat): use rb_...
nobu (Nobuyoshi Nakada)
11:05 AM Bug #8597 (Closed): Unexpected result of Dir.glob of '<' or '>' on Windows
I have found the following results of Dir.glob when containing '<' or '>' on path.
C:\Users\phasis>irb
irb(main):001:0> Dir.glob('>')
=> [">"]
irb(main):002:0> Dir.glob('<')
=> ["<"]
irb(main):003:0> Dir.glob('>><<>><<')
=> [">>...
phasis68 (Heesob Park)
01:32 PM Revision b2be6232 (git): * internal.h (ruby_digit36_to_number_table): Declared.
* util.c (ruby_digit36_to_number_table): Moved from scan_digits.
* bignum.c (conv_digit): Use ruby_digit36_to_number_table.
* pack.c (hex2num): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41757 b2dd03c8-39d4-4d8f-98ff-8...
akr (Akira Tanaka)
12:46 PM Bug #8483: SEGV under high concurrency
Do you use any gem packages contains extension libraries?
Can you run a process in terminal and get backtrace etc..
nagachika (Tomoyuki Chikanaga)
11:47 AM Bug #8557: rubygems/security.rb is loaded twice if openssl is unavailable
I have this fixed on RubyGems master and will merge to ruby trunk after releasing RubyGems 2.0.4 (later this week). drbrain (Eric Hodel)
07:08 AM Bug #8557: rubygems/security.rb is loaded twice if openssl is unavailable
=begin
How can LoadError#path return the required library name if the file is missing?
It seems (({e.path == "openssl"})) will return true:
$ ruby -e 'begin; require "nonexistent"; rescue LoadError; p $!.path; end'
"nonexiste...
drbrain (Eric Hodel)
09:12 AM Revision 48ebea71 (git): mkmf.rb: revert DESTDIR prefix
* lib/mkmf.rb (install_dirs): revert DESTDIR prefix by r39841, since
it is fixed by r41648. [ruby-core:55760] [Bug #8115]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:53 AM Feature #8075 (Closed): Add socket interface class to list interfaces
This was fixed by Socket.getifaddrs in r40593 drbrain (Eric Hodel)
06:19 AM Feature #7711 (Rejected): RubyGems uses autoload
Due to notes in #5653 it seems that autoload is fixed. In the interest of pushing towards a definitive answer from matz about autoload's future I am rejecting this issue.
Please restore it to assigned if matz decides autoload will be ...
drbrain (Eric Hodel)
05:15 AM Revision 48b19a3a (git): dir.c: get rid of FindFirstFile bug
* dir.c (do_stat): use rb_w32_ustati64() in win32.c to get rid of
mysterious behavior of FindFirstFile() Windows API which treat "<"
and ">" like as wildcard characters. [ruby-core:55764] [Bug #8597]
git-svn-id: svn+ssh://ci.ruby-l...
nobu (Nobuyoshi Nakada)
05:12 AM Revision 89e38a2b (git): dir.c: do_lstat alias
* dir.c (do_lstat): make an alias of do_stat instead of two same
functions, when no lstat is available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:11 AM Revision 8cbd501e (git): test/ruby: independent from pathname
* test/ruby/test_dir.rb (TestDir#setup): remove dependency on pathname.
* test/ruby/test_rubyoptions.rb (TestRubyOptions#with_tmpchdir): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:08 AM Revision 87e185da (git): * 2013-07-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:08 AM Revision c4107e71 (git): * bignum.c (maxpow_in_bdigit): Renamed from calc_hbase and return
maxpow.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)

07/02/2013

06:48 PM Bug #8115: make install DESTDIR=/my/install/path fails
usa (Usaku NAKAMURA) wrote:
> On Windows, when making extensions, `nmake install' now causes error because rubylibprefix (and others) has "C:C:" prefix.
> ...
I would say that r39841 should be reverted, since it never fixed my issues. ...
vo.x (Vit Ondruch)
05:32 PM Feature #7418: Kernel#used_refinements
I'm against adding a new reflection API for refinements into Ruby 2.1.
What do you think of it, Matz?
shugo (Shugo Maeda)
02:49 PM Revision c7882619 (git): * bignum.c (roomof): Cast to long.
(rb_ull2big): Fix bignew arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:16 PM Revision d74bb62d (git): * bignum.c (rb_cstr_to_inum): fix 64 bit to 32 bit shorten warning
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Charlie Somerville
12:20 PM Revision 4658478a (git): * bignum.c (rb_cstr_to_inum): Merge two temporary buffers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:52 AM Revision 2ade2218 (git): * bignum.c (rb_cstr_to_inum): Use BDIGIT_DBL to collect adjacent digits.
(BDIGIT_DBL_MAX): New macro.
(maxpow_in_bdigit_dbl): New function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:35 AM Bug #8595 (Closed): mkmf.rb pkg_config modifies $LDFLAGS
This issue was solved with changeset r41734.
Shota, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/mkmf.rb (try_config): Fix to not replace $LDFLAGS with $li...
sorah (Sorah Fukumori)
11:20 AM Bug #8595: mkmf.rb pkg_config modifies $LDFLAGS
Updating patch because I uploaded older one:
* Don't append libs into $LDFLAGS
sorah (Sorah Fukumori)
11:07 AM Bug #8595: mkmf.rb pkg_config modifies $LDFLAGS
oops, sorry, forgot to attach the patch sorah (Sorah Fukumori)
11:04 AM Bug #8595 (Closed): mkmf.rb pkg_config modifies $LDFLAGS
=begin
mkmf.rb's pkg_config modifies $LDFLAGS after 2.0.0 (r35605 ?) like the following:
# ruby 1.9.3p392 (2013-02-22 revision 39386) [x86_64-linux]
p $LDFLAGS #=> "-L. -rdynamic -Wl,-export-dynamic"
p pkg_config('libxml-2.0') ...
sorah (Sorah Fukumori)
10:42 AM Bug #8594 (Feedback): [BUG] rb_update_max_fd: invalid fd (4) given
It is not reproducible for me.
% cat tst.rb
def try
yield
print '.'
rescue Errno::EINVAL
print 'i'
sleep 1
rescue Errno::ENOENT
print 'n'
sleep 1
rescue Errno::EACCES
print '...
akr (Akira Tanaka)
10:06 AM Bug #8594 (Closed): [BUG] rb_update_max_fd: invalid fd (4) given
=begin
Note that I expect EINVAL when running this code. Most of the time it is correctly handled by the rescue on line 108. Occasionally, however, Ruby crashes.
I was originally experiencing this on 1.9.3p392; I upgraded to 2.0....
chris.frederick (Chris Frederick)
08:24 AM Revision 9487404c (git): * doc/syntax/refinements.rdoc: add description of Module#using and
refinement inheritance by module inclusion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
08:22 AM Revision 58919a4d (git): re.c: use built-in encoding indexes
* internal.h: add EUC-JP and Windows-31J.
* re.c (rb_char_to_option_kcode): use built-in encoding indexes in
internal.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:22 AM Revision 14dfdb5e (git): dir.c: use built-in encoding indexes
* internal.h: add UTF8-MAC.
* dir.c (rb_utf8mac_encoding): use built-in encoding indexes in
internal.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:22 AM Revision 66564ab6 (git): string.c: use built-in encoding indexes
* internal.h: add UTF-{16,32} dummy encodings.
* string.c (rb_str_inspect, str_scrub0): use built-in encoding indexes
in internal.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:22 AM Revision 42a2f89b (git): io.c: use built-in encoding indexes
* internal.h: add UTF-{16,32}{BE,LE}.
* io.c (io_strip_bom): use built-in encoding indexes in internal.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:22 AM Revision ea2b115e (git): internal.h: use built-in encoding indexes
* internal.h (rb_{ascii8bit,utf8,usascii}_encindex): use built-in
encoding indexes for optimization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:22 AM Revision 869a1b58 (git): encoding.c: use built-in encoding indexes
* encoding.c (enc_inspect, rb_locale_encindex),
(enc_set_filesystem_encoding, rb_filesystem_encindex): use built-in
encoding indexes directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:22 AM Revision aa1acf1d (git): encoding.c: validate index
* encoding.c (rb_enc_set_index, rb_enc_associate_index): validate
argument encoding index.
* include/ruby/encoding.h (ENCODING_SET): use rb_enc_set_index()
instead of setting inlined bits directly.
git-svn-id: svn+ssh://ci.ruby-lang...
nobu (Nobuyoshi Nakada)
08:22 AM Revision 263ce88f (git): encoding.c: preserved encindex
* encoding.c (rb_enc_init): register preserved indexes.
* internal.h (ruby_preserved_encindex): move from encoding.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:21 AM Bug #8575: Crash in openssl verify_certificate_identity
We can confirm this problem exists on *all* versions of Ruby, including 1.9 and 1.8.
We've also done some more digging into it. The problematic line of code is here:
https://github.com/ruby/ruby/blob/bc47f294ee88630bad65a603225b948...
bascule (Tony Arcieri)
06:27 AM Bug #8592: when outputing to console, it's encoding is ignored for Windows
actually I just noticed I had default raster fonts set for console, if I change it to Lucida Console it doesn't crash. And shows characters correctly.
davispuh (Dāvis Mosāns)
06:23 AM Bug #8592: when outputing to console, it's encoding is ignored for Windows
=begin
yeah, same result
((<URL:http://i.imm.io/1aPzV.png>))
maybe it's something to do because I've localized version of Windows 8?
=end
davispuh (Dāvis Mosāns)
05:24 AM Bug #8592 (Feedback): when outputing to console, it's encoding is ignored for Windows
Hello,
I was not able to reproduce your problem.
Script:
https://gist.github.com/luislavena/c5a5697bd7079c182034
Result
http://cl.ly/image/440K232n0M0Q
Can you try the same script?
luislavena (Luis Lavena)
05:06 AM Bug #8592 (Third Party's Issue): when outputing to console, it's encoding is ignored for Windows
=begin
for example code
#!/usr/bin/env ruby
#encoding: utf-8
print "testing ā"
when open CMD with changed encoding ie. ((%chcp 1257%))
it wont correctly output ((*ā*)) even that encoding and console does support it.
...
davispuh (Dāvis Mosāns)
03:00 AM Revision 22d508fc (git): fix indent
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
03:00 AM Revision ee8fdc47 (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:59 AM Revision c92c5c9e (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:35 AM Revision 47434dc1 (git): * lib/mkmf.rb (try_config): Fix to not replace $LDFLAGS with $libs
(1.9.3 behavior) [ruby-core:55752] [Bug #8595]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
sorah (Sorah Fukumori)
12:52 AM Bug #8591 (Third Party's Issue): [BUG] Segmentation fault ruby 2.0.0p195 (2013-05-14) [x64-mingw32]
rails server crashes with Segmentation fault
in pure app created with rails new .
after installing mysql2 gem like this
gem install mysql2 -v '0.3.12b6' -- --with-opt-dir="C:\work\mysqlconnectorc61"
On Windows 7 64b with ruby 2.0 ...
chmel (Josef Chmel)

07/01/2013

09:16 PM Bug #8588: bigdecimal 1.2.0 gem update fails on Cygwin
$ gem update
Updating installed gems
Updating bigdecimal
Fetching: bigdecimal-1.2.1.gem (100%)
Building native extensions. This could take a while...
Successfully installed bigdecimal-1.2.1
Gems updated: bigdecimal
Installing ri ...
rklemme (Robert Klemme)
08:50 PM Bug #8588: bigdecimal 1.2.0 gem update fails on Cygwin
I've released bigdecimal version 1.2.1.
Please use this new version.
mrkn (Kenta Murata)
08:46 PM Bug #8588 (Closed): bigdecimal 1.2.0 gem update fails on Cygwin
This issue was solved with changeset r41725.
Robert, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/bigdecimal/bigdecimal.h (RB_UNUSED_VAR, UNREACHABLE):
i...
mrkn (Kenta Murata)
05:24 PM Bug #8588 (Closed): bigdecimal 1.2.0 gem update fails on Cygwin
Compilation fails - I suspect a build configuration / Makefile issue. Here's the initial messages from gem_make.out:
/usr/bin/ruby.exe extconf.rb
checking for labs() in stdlib.h... yes
checking for llabs() in stdlib.h... yes
creat...
rklemme (Robert Klemme)
09:11 PM Bug #8439: test_aes_gcm_wrong_tag(OpenSSL::TestCipher) fails randomly
Might be related/duplicate to #8221 vo.x (Vit Ondruch)
09:07 PM Bug #8590 (Closed): Second call of https.get results in timeout
Hi,
In the following code, second call of https.get results in an error "Connection reset by peer - SSL_connect" after timeout.
---
require "net/https"
https = Net::HTTP.new("secure.nicovideo.jp", 443)
#https = Net::HTTP.new("ww...
yhara (Yutaka HARA)
06:17 PM Feature #6183: Enumerator::Lazy performance issue
Indeed I messed up the patch with numerous rebases.
Thanks a lot for your refactoring branch - everything looks great.
So what our next steps?
gregolsen (Innokenty Mikhailov)
06:09 PM Revision 157dd917 (git): merge revision(s) 41623,41723: [Backport #6862] [Backport #8587]
* ext/bigdecimal/bigdecimal.c (BigMath_s_exp): Fix for the cases when
the argument x is not a BigDecimal.
This change is based on the patch made by Garth Snyder.
[Fix GH-332] https://github.com/ruby/ruby/pul...
nagachika (Tomoyuki Chikanaga)
05:00 PM Feature #8579: Frozen string syntax
charliesome (Charlie Somerville) wrote:
> Also, if we used a modifier, how would that affect other types of percent literals like %w or %i?
As for %i, it doesn't make sense to freeze symbols, so it would freeze result array if it wer...
nobu (Nobuyoshi Nakada)
04:49 PM Feature #8579: Frozen string syntax
mame, is there a precedent of using modifiers on non-regexp literals?
I'm not against your proposal, but it would be odd for this particular feature to introduce a new syntax.
Also, if we used a modifier, how would that affect othe...
Anonymous
06:14 AM Feature #8579: Frozen string syntax
+1 to mame's proposal, literals already take long to learn for us average Joe users, only operator precedence is worse. Anonymous
04:10 PM Bug #6862: BigMath.exp negative exponent
So phasis68 should have a commit bit, as I said. ;-)
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
03:38 PM Bug #6862: BigMath.exp negative exponent
phasis68 (Heesob Park) wrote:
> This issue was solved with changeset r41623.
> ...
I'm sorry I missed this issue and your patch.
I added your name in ChangeLog at r41723.
mrkn (Kenta Murata)
03:37 PM Bug #6862 (Closed): BigMath.exp negative exponent
This issue was solved with changeset r41723.
Földes, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Additionally mention Heesob Park for his patch to [Bug #6862]
mrkn (Kenta Murata)
03:43 PM Revision 3b25c206 (git): * 2013-07-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:43 PM Revision 8c55a0a6 (git): * ext/socket/ipsocket.c (init_inetsock_internal): Don't try mismached
address family if already failed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:05 PM Bug #8585 (Closed): Time for CSV.generate grows quadratic with number of rows
This issue was solved with changeset r41722.
Peter, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
csv.rb: get rid of discarding coderange
* lib/csv.rb (CSV#<<): ...
nobu (Nobuyoshi Nakada)
01:56 AM Bug #8585: Time for CSV.generate grows quadratic with number of rows
nobu (Nobuyoshi Nakada) wrote:
> The file already has that line.
I meant at the top of the test script provided in the description.
> ...
Any idea why this makes the whole process quadratic?
Eregon (Benoit Daloze)
02:44 PM Revision 2fef1514 (git): util.c: constify
* util.c (scan_digits): constify readonly table.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:30 PM Revision ba3dc473 (git): Revert r41728
* string.c (rb_str_inspect): use encoding index macros in encdb.h.
It breaks build because encdb.h requires miniruby and modified
miniruby requires encdb.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41729 b2dd03c8-39d4-4d8f-98f...
naruse (Yui NARUSE)
02:12 PM Revision 642b157c (git): * string.c (rb_str_inspect): use encoding index macros in encdb.h.
* string.c (str_scrub0): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
02:12 PM Revision 5308b0fd (git): * template/encdb.h.tmpl: define encoding index macros to use the index
statically from C source.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
01:59 PM Revision df1192ed (git): * bignum.c (bary_mul2): New function.
(rb_cstr_to_inum): Use a better algorithm to compose the result
if input length is very long.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:29 PM Feature #8571 (Closed): Refinement inheritance by Module#include
matz (Yukihiro Matsumoto) wrote:
> Agreed. It also conforms the original design.
I've committed in r41719. Thanks.
shugo (Shugo Maeda)
07:10 AM Feature #8571: Refinement inheritance by Module#include
Agreed. It also conforms the original design.
Matz.
matz (Yukihiro Matsumoto)
12:55 PM Bug #8581: URI.parse can't parse URI: (URI::InvalidURIError) "bad URI(is not URI?
According to http://tools.ietf.org/html/rfc3986 '^' is not a valid character in a query string.
According to the document, '^' is not neither listed as a reserved or unreserved character. It should therefore be percent encoded.
The...
hamiltop (Peter Hamilton)
12:22 PM Feature #8586 (Closed): Add a simple file server to WEBrick
ruby -run -e httpd -- -p 5000 /tmp nobu (Nobuyoshi Nakada)
08:00 AM Feature #8586 (Closed): Add a simple file server to WEBrick
Hi,
Frequently I need to run a simple file server in a directory, for example to temporarily share files, or try out some html / JS. If I want to do this with Ruby, I have to download a gem, or write a few lines with WEBrick.
I'd ...
tenderlovemaking (Aaron Patterson)
11:46 AM Revision d08a79cf (git): * ext/bigdecimal/bigdecimal.h (RB_UNUSED_VAR, UNREACHABLE):
import macros from ruby.h for 1.9.3.
[Bug #8588] [ruby-core:55730]
* ext/bigdecimal/bigdecimal.gemspec: Bump version to 1.2.1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
11:05 AM Revision b7fd00c8 (git): * ext/socket/ipsocket.c (init_inetsock_internal): Use an address
family for local address wihch is different to the remote
address if no other choice.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
06:37 AM Revision f6a8c82e (git): Additionally mention Heesob Park for his patch to [Bug #6862]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
06:05 AM Revision 45c2532e (git): csv.rb: get rid of discarding coderange
* lib/csv.rb (CSV#<<): use StringIO#set_encoding instead of creating
new StringIO instance with String#force_encoding, forcing encoding
discards the cached coderange bits and can make further operations
very slow. [ruby-core:55714...
nobu (Nobuyoshi Nakada)
06:04 AM Revision 87768023 (git): stringio.c: keep coderange
* ext/stringio/stringio.c (strio_write): keep coderange of
ptr->string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:03 AM Revision 78b45a0b (git): string.c: coderange appending to empty string
* string.c (rb_enc_cr_str_buf_cat, rb_str_append): consider an empty
string 7bit-clean and should not discard cached coderange of string
to be appended.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41720 b2dd03c8-39d4-4d8f-98ff...
nobu (Nobuyoshi Nakada)
03:57 AM Revision 72d3e2b1 (git): * eval.c (rb_using_module): activate refinements in the ancestors of
the argument module to support refinement inheritance by
Module#include. [ruby-core:55671] [Feature #8571]
* test/ruby/test_refinement.rb: related test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41719 b2dd03c8-39d4-4d8f-98ff...
shugo (Shugo Maeda)
03:36 AM Bug #8574 (Assigned): CI Build failure introduced by r41686
Failure still present:
http://ci.rubyinstaller.org/job/ruby-trunk-x64-test-all/1486/console
http://ci.rubyinstaller.org/job/ruby-trunk-x86-test-all/1687/console
luislavena (Luis Lavena)
03:04 AM Revision 551fe2bd (git): * bignum.c (rb_cstr_to_inum): Skip leading zeros.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)

06/30/2013

11:38 PM Bug #8585: Time for CSV.generate grows quadratic with number of rows
Eregon (Benoit Daloze) wrote:
> Adding "# encoding: US-ASCII" at the top of the script makes it identical to the previous behavior, therefore taking the same time. I would certainly not call this a solution though.
The file already h...
nobu (Nobuyoshi Nakada)
11:15 PM Bug #8585: Time for CSV.generate grows quadratic with number of rows
This is most likely due to character indexing in UTF-8 being O(n).
I'd suggest reworking CSV.generate to not use character indexing, or convert input strings to UTF-32 first.
Anonymous
11:04 PM Bug #8585: Time for CSV.generate grows quadratic with number of rows
Adding "# encoding: US-ASCII" at the top of the script makes it identical to the previous behavior, therefore taking the same time. I would certainly not call this a solution though. Eregon (Benoit Daloze)
11:00 PM Bug #8585: Time for CSV.generate grows quadratic with number of rows
Good find!
A git bisect led to r37485 aka 58ef0f06:
Author: naruse
Date: Tue Nov 6 00:49:57 2012 +0000
* ruby.c (load_file_internal): set default source encoding as
UTF-8 instead of US-ASCII. [ruby-core:46021] [Fea...
Eregon (Benoit Daloze)
07:38 PM Bug #8585: Time for CSV.generate grows quadratic with number of rows
Using
CSV.open(filename, 'w')
I can write large CSV files to disk in Ruby 2.0.0
(e.g. 10 M rows in 132 seconds)
It is only writing it to string that forms a problem in
ruby 2.0.0 and ruby-head.
peter_v (Peter Vandenabeele)
07:04 PM Bug #8585 (Closed): Time for CSV.generate grows quadratic with number of rows
Hi,
I want to generate a CSV string, from millions of rows.
I see the time to create the string grows quadratic
with the amount of rows. With this issue, I cannot use
ruby 2.0.0 to create the CSV file.
I did not see this problem...
peter_v (Peter Vandenabeele)
10:18 PM Bug #8538: c method not pushed into the callstack when called, but popped when returned
=begin
Thanks, @ko1. I commented the other issue, I think it's not the same thing.
I'm adding the actual output versus the expected output to try make this more clear.
tp = TracePoint.new do |tp|
warn "%-8s %-11p %s" % [tp.ev...
deivid (David Rodríguez)
09:26 PM Bug #7976: TracePoint call is at call point, not call site
I find this behaviour satisfactory for my purposes.
If I need the origin of a :call event I use the previous :line event. Is this wrong?
deivid (David Rodríguez)
04:42 PM Bug #8584 (Closed): Remove curses
I'd like to remove curses from the Ruby standard library.
I believe the standard library should get as small as possible, and I can't find any reason to have curses except for a compatibility reason. And Ruby has RubyGems now, so it'...
shugo (Shugo Maeda)
04:01 PM Revision f893b2f1 (git): * 2013-07-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:01 PM Revision 98a8c820 (git): * bignum.c (nlz16): New function.
(nlz32): Ditto.
(nlz64): Ditto.
(nlz128): Ditto.
(nlz): Redefined using an above function.
(bitsize): New macro.
(rb_cstr_to_inum): Use bitsize instead of nlz.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41716 b2dd03c8-...
akr (Akira Tanaka)
02:16 PM Revision 5956967a (git): process.c: remove ineffective assignment
* process.c (rb_exec_fillarg): remove ineffective assignment unless
default process encoding is set.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:55 PM Bug #8581 (Rejected): URI.parse can't parse URI: (URI::InvalidURIError) "bad URI(is not URI?
I get this (hr) as a HTTP_REFERER and URI.parse throws:
hr = "http://www1.search-results.com/web?l=dis&q=harukorean&o=APN10645&apn_dtid=^BND406^YY^US&shad=s_0041&apn_uid=3223038720574163&gct=ds&apn_ptnrs=AG6&lang=en&atb=sysid%3D406%3A...
pctj101 (Jeff Chan)
01:40 PM Revision 3628ab80 (git): * lib/prime.rb: Corrected a few comments. Patch by @Nullset14.
Fixes GH-346.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Charlie Somerville
01:16 PM Revision 305f06c7 (git): * bignum.c (rb_cstr_to_inum): Use rb_integer_unpack if base is a power
of 2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:59 AM Bug #1771 (Closed): system()/popen()/popen3() & windows & unicode is not working
This issue was solved with changeset r41709.
Jarek, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
win32: UTF-8 spawn
* io.c (spawnv, spawn): use UTF-8 spawn fami...
nobu (Nobuyoshi Nakada)
10:56 AM Feature #8579: Frozen string syntax
I'm neutral for the proposal itself.
Instead of a new kind of %-notation, it would be better to introduce a modifier like regexp literal:
%r(foo)o
%q(foo)o
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
05:06 AM Revision 3a01b9ec (git): win32: UTF-8 spawn
* test/ruby/test_process.rb (test_spawn_nonascii): assertions for
non-ascii arguments. [ruby-core:24309] [Bug #1771]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:10 AM Revision e5d61a86 (git): ChangeLog: remove garbage
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:59 AM Revision 5197f451 (git): win32.c: use backslash
* win32/win32.c (join_argv): use backslash instead of slash in program
path, otherwise cannot invoke "./c\u{1ee7}a.exe" for some reason.
[ruby-core:24309] [Bug #1771]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41710 b2dd03c8-...
nobu (Nobuyoshi Nakada)
01:59 AM Revision 637d668b (git): win32: UTF-8 spawn
* io.c (spawnv, spawn): use UTF-8 spawn family. [Bug #1771]
* process.c (proc_exec_sh, proc_spawn_cmd, proc_spawn_sh): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:59 AM Revision 8d2ce0fb (git): win32.c: codepage awareness
* win32/win32.c (translate_char, join_argv, has_redirection): make
codepage aware.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:59 AM Revision b64f79c8 (git): win32.c: rb_w32_udln_find_exe_r,
rb_w32_udln_find_file_r
* win32/win32.c (rb_w32_udln_find_exe_r, rb_w32_udln_find_file_r):
codepage independent versions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:59 AM Revision dc0b06aa (git): win32.c: UTF-8 spawn
* win32/win32.c (w32_spawn): extract codepage aware code from
rb_w32_spawn().
* win32/win32.c (rb_w32_uspawn): add UTF-8 version function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:59 AM Revision 64d39448 (git): win32.c: UTF-8 aspawn
* win32/win32.c (w32_aspawn_flags): extract codepage aware code from
rb_w32_aspawn_flags().
* win32/win32.c (rb_w32_uaspawn_flags, rb_w32_uaspawn_flags): add
UTF-8 version functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
nobu (Nobuyoshi Nakada)
01:58 AM Revision a65261c2 (git): win32.c: w32_getenv
* win32/win32.c (w32_getenv): extract codepage aware code from
rb_w32_ugetenv() and rb_w32_getenv().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:58 AM Revision cc3ec30a (git): win32.c: w32_stati64
* win32/win32.c (w32_stati64): extract codepage aware code from
rb_w32_ustati64() and rb_w32_stati64().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:58 AM Revision 1f500f03 (git): dln.c: extra arguments
* dln.h (DLN_FIND_EXTRA_ARG, DLN_FIND_EXTRA_ARG_DECL): allow extra
arguments to dln_find_{exe,file}_r().
* dln_find.c (dln_find_exe_r, dln_find_file_r): add extract arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41702 b2...
nobu (Nobuyoshi Nakada)
01:57 AM Revision 69bbcbe4 (git): process.c: default process encoding
* process.c (EXPORT_STR, EXPORT_DUP): convert to default process
encoding if defined.
* process.c (check_exec_env_i): convert environment variables too.
* process.c (rb_exec_fillarg): convert program path and arguments too.
git-svn-id...
nobu (Nobuyoshi Nakada)
01:57 AM Revision 3e9c0bfa (git): process.c: adjust indent
* process.c (exec_arg_data_type): adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:37 AM Bug #8575: Crash in openssl verify_certificate_identity
Thank you for reporting this problem.
Is this error reproduced with 1.9.3-p448?
nagachika (Tomoyuki Chikanaga)
01:23 AM Revision 3a6bcb63 (git): test_process.rb: File.realpath directly
* test/ruby/test_process.rb (with_tmpchdir): use File.realpath
directly, no need to depend on pathname.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

06/29/2013

11:23 PM Feature #8579: Frozen string syntax
+1.

What about interpolation? %F() would be useful although they can't be
deduplicated.


// Magnus Holm
judofyr (Magnus Holm)
09:52 PM Feature #8579 (Closed): Frozen string syntax
I'd like to propose a new type of string literal - %f().
Because Ruby strings are mutable, every time a string literal is evaluated a new String object must be duped.
It's quite common to see code that stores a frozen String object...
Anonymous
11:04 PM Bug #8538: c method not pushed into the callstack when called, but popped when returned
Is it similar problem of the following?
[ruby-core:52971] [ruby-trunk - Bug #7976][Open] TracePoint call is at call point, not call site
# I will back from Euruko-mode in a few days.
ko1 (Koichi Sasada)
04:58 PM Revision b1e052d0 (git): * bignum.c (big_rshift): Use abs2twocomp and twocomp2abs_bang.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:57 PM Revision 3c9f0334 (git): * 2013-06-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:57 PM Revision 7251c93c (git): * bignum.c (RBIGNUM_SET_NEGATIVE_SIGN): New macro.
(RBIGNUM_SET_POSITIVE_SIGN): Ditto.
(rb_big_neg): Inline get2comp to avoid double negation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:38 PM Revision 1522375b (git): * bignum.c (bary_neg): Extracted from bary_2comp.
(bary_plus_one): Extracted from bary_2comp.
(bary_2comp): Use bary_neg and bary_plus_one.
(big_extend_carry): Extracted from get2comp.
(get2comp): Use big_extend_carry.
(rb_integer_unpack): Use big_extend_carry.
(rb_big_neg): U...
akr (Akira Tanaka)
01:33 PM Revision 69f1a335 (git): * bignum.c (bary_2comp): Simplified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:29 AM Feature #7854: New method Symbol[string]
=begin
In the intervening months I've created a gem ((<URL:https://rubygems.org/gems/symbol_lookup>)) that implements ((%Symbol.[]%)), as well as two methods inspired by #7795 :
* String#interned => gets an existing symbol, returning t...
phluid61 (Matthew Kerwin)
08:03 AM Feature #7882: Allow rescue/else/ensure in do..end
mame (Yusuke Endoh) wrote:
> I have suggested the same proposal (in Japanese [ruby-dev:31393]).
> ...
Definitely the latter. The rescue statement in the block should only rescue errors that occur inside the block. This is more appare...
phluid61 (Matthew Kerwin)
07:16 AM Bug #8225: Missing RI file for Kernel.open
Fixed in RDoc by f72b586 and b84f38e drbrain (Eric Hodel)
06:52 AM Feature #5007: Proc#call_under: Unifying instance_eval and instance_exec
judofyr (Magnus Holm) wrote:
> Still not sure about the name. Maybe #call_with is better?
I suggest #call_as or #call_bound: "as" because it suggests that "self" in the proc will refer to the first parameter, or possibly "bound" beca...
phluid61 (Matthew Kerwin)
06:18 AM Feature #5007: Proc#call_under: Unifying instance_eval and instance_exec
I concur with trans: I don't think this issue will solve #6298. However, please keep that discussion out of this issue.
Would it be possible to get a OK/NG for inclusion of this in 2.1?
Still not sure about the name. Maybe #call_wi...
judofyr (Magnus Holm)
06:19 AM Bug #7445 (Rejected): strptime('%s %z') doesn't work
there is no evidence of bug. tadf (tadayoshi funaba)
06:08 AM Bug #8485 (Closed): Incorrect period index for Gregorian Dates at beginning of each CM_PERIOD
tadf (tadayoshi funaba)
12:35 AM Revision c6cb7416 (git): * bignum.c (bigor_int): Return -1 if y == -1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:09 AM Feature #8576: Add optimized method type for constant value methods
Feedback would be appreciated! Anonymous
12:08 AM Revision f0454052 (git): * bignum.c (bigor_int): Use RB_GC_GUARD.
(bigxor_int): Take xn and hibitsx arguments. Use twocomp2abs_bang.
(rb_big_xor): Use abs2twocomp and twocomp2abs_bang.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)

06/28/2013

11:22 PM Feature #8576 (Assigned): Add optimized method type for constant value methods
I've written a patch adding a new method type (VM_METHOD_TYPE_CONSTVAL) for methods that only return a constant value. The patch significantly improves the performance of calls to these types of methods.
I've written a small benchmark...
Anonymous
11:21 PM Revision 88430941 (git): * bignum.c (bigand_int): Don't apply bitwise and for BDIGIT and long.
(bigor_int): Take xn and hibitsx arguments. Use twocomp2abs_bang.
(rb_big_or): Use abs2twocomp and twocomp2abs_bang.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:53 PM Feature #7368: rb_str_each_line()のパフォーマンス向上とリファクタリング
時間が経ってしまいましたが、そもそも「レシーバのStringに不正なバイト列が含まれていたら不正なバイト列を踏んだところで例外を投げる」というのは好ましい仕様なのでしょうか。
現状の実装では改行文字がdefault_rsである場合、memchrで舐めていくので不正なバイト列が含まれていても素通りしていってしまいます。
不正なバイト列が含まれている事を検知して途中で例外を投げるのは改行文字にdefault_rs以外の文字列を指定した場合のみです。
これではちぐは...
Glass_saga (Masaki Matsushita)
10:22 PM Bug #8575 (Assigned): Crash in openssl verify_certificate_identity
I'll have a look at the certificate tonight. As soon as I know what's causing the problem I'll prepare a commit with tests for the problem. Thank you for notifying us about this and thanks for providing the certificates! MartinBosslet (Martin Bosslet)
09:54 PM Bug #8575 (Closed): Crash in openssl verify_certificate_identity
When creating an openssl connection to a server with the certificate below, ruby crashes with the following error:
TypeError: no implicit conversion of true into String
from /Users/szengel/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/...
maxsz (Maximilian Szengel)
07:20 PM Bug #8574 (Closed): CI Build failure introduced by r41686
=begin
Hello,
r41686 caused a failure in RubyInstaller CI for both x86 and x64:
http://ci.rubyinstaller.org/job/ruby-trunk-x64-test-all/1474/console
http://ci.rubyinstaller.org/job/ruby-trunk-x86-test-all/1675/console
1) Fa...
luislavena (Luis Lavena)
07:05 PM Feature #8573 (Feedback): Add String#format method(not an alias of String#%)
I think it'd be great if String included a method similar to `%` that accepts variable number of arguments (like `sprintf`). This is trivial to implement as you're certainly aware.
Here's one implementation suggestion:
class Stri...
bozhidar (Bozhidar Batsov)
04:09 PM Revision 112df332 (git): * 2013-06-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:09 PM Revision 7ffd3e94 (git): * numeric.c (fix_mul): remove FIT_SQRT_LONG test as it was causing
fix_mul to return an incorrect result for -2147483648*-2147483648
on 64 bit platforms
* test/ruby/test_integer_comb.rb (class TestIntegerComb): add test case
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41689 b2dd03c8-39d4-4d8f-...
Charlie Somerville
11:02 AM Feature #8430: Rational number literal
mrkn (Kenta Murata) wrote:
> headius (Charles Nutter) wrote:
> ...
Slightly bike-shedding, but I have issues with // as an operator. For one, it immediately screams "comment" at me, even though ruby comments use #, simply because so m...
phluid61 (Matthew Kerwin)
10:40 AM Feature #8430: Rational number literal
headius (Charles Nutter) wrote:
> If the slash syntax is more to @mrkn's liking, these examples would be %R{-1/2} and %R{1/-2}.
I don't hate this form. It is better than %R{1,2}.
But I think 1//2 looks like a fraction than %R{1/2}.
mrkn (Kenta Murata)
09:59 AM Feature #8526: gemify tk
永井@知能.九工大です.

From: "xibbar (Takeyuki FUJIOKA)" <[email protected]>
Subject: [ruby-dev:47445] [ruby-trunk - Feature #8526] Removing tk from Ruby repository
Date: Mon, 17 Jun 2013 13:24:51 +0900
Message-ID: <redmine.journal-3998...
nagai (Hidetoshi Nagai)
09:16 AM Feature #8572 (Closed): Fiber should be a Enumerable
I'm thinking that Fiber should be a Enumerable. it's easy and reasonable to implement.
https://gist.github.com/mattn/5874949
mattn (Yasuhiro Matsumoto)
08:44 AM Feature #8564: Extend Module#attr... methods
matz (Yukihiro Matsumoto) wrote:
> We need to clarify how this intervene with `#initialize`. Any opinion?
> ...
My suggestion is that it take effect before any explicit `initialize` method.
Examples:
~~~ruby
class A
attr_acc...
phluid61 (Matthew Kerwin)
07:33 AM Feature #8564: Extend Module#attr... methods
We need to clarify how this intervene with `#initialize`. Any opinion?
Matz
matz (Yukihiro Matsumoto)
05:36 AM Bug #8565: Compiled Regexp comparation bug
Hopefully this is not a bug (or I think it is not).
When you create new regexp with :
%r"\/" and Regexp.new("\/") your quote are the delimiters
when you create regexp with slashes /\// the slashes (/) are your delimiters. Your regexp s...
cedric.brancourt (Cedric Brancourt)
04:26 AM Revision da0c4e5e (git): enumerator.c: lazyenum_size
* enumerator.c (lazyenum_size): adjust arguments.
* enumerator.c (enumerable_lazy): use lazyenum_size() instead of
enum_size().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:26 AM Bug #8464: IPAddr cannot parse link-local IPv6 address.
Not sure this need a fix.
The %0 part of the example is the scope ( zone ) and should not be part of the address.
It is appended by operating system in the textual representation of the endpoint ( for interface identification ), and for...
cedric.brancourt (Cedric Brancourt)
03:35 AM Revision b83b33ee (git): * bignum.c (rb_big_and): Allocate new bignum with same size to shorter
argument if it's high bits are zero.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:16 AM Revision a5fcce28 (git): * ext/socket/ipsocket.c (init_inetsock_internal): Don't use local
addresses which address family is different to remote address.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:52 AM Revision db50aa78 (git): Wait more
http://u32.rubyci.org/~chkbuild/ruby-trunk/log/20130627T230301Z.log.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
 

Also available in: Atom