Project

General

Profile

Activity

From 10/19/2013 to 10/25/2013

10/25/2013

09:54 PM Bug #8836: [BUG] Bus Error with bundler on large Gemfile when resolving dependencies
upd: After update system on 64 bit all work "3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013 x86_64 x86... dammer (Damir Sharipov)
09:37 PM Revision 59735e2c (git): * gc.c (gc_before_heap_sweep): Restructure code to mean clearly.
heap->freelist is connected to end of list.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43423 b2dd03c8-39d4-4...
Masaya Tarui
08:06 PM Bug #9051 (Assigned): open-uri meta_add_field method removed
Sounds reasonable.
How do you think, akr?
naruse (Yui NARUSE)
07:09 PM Revision 7518f59c (git): * 2013-10-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:09 PM Revision 98feb2b9 (git): * gc.c (gc_before_heap_sweep): fix freelist management.
After rb_gc_force_recycle() for a object blonging to heap->freelist,
`heap->using_page->freelist' is not null.
g...
ko1 (Koichi Sasada)
06:24 PM Bug #9053 (Third Party's Issue): SSL Issue with Ruby 2.0.0
=begin
Steps to reproduce:
ruby -rnet/http -e 'Net::HTTP.get(URI("https://stormforger.com"));'
results in:
...
tisba (Sebastian Cohnen)
12:33 PM Bug #7829: Rounding error in Ruby Time
david_macmahon (David MacMahon) wrote:
> The three main reasons for preferring the decimal approximation for Float ...
mpglover (Matt Glover)
09:09 AM Bug #8997 (Third Party's Issue): TestSignal#test_hup_me hangs up the test suite
Please contact us after you've investigated. Fedora Rawhide is not supported platform of us. kosaki (Motohiro KOSAKI)
06:57 AM Revision a2231670 (git): range.c: fix int and VALUE
* range.c (SET_EXCL): set boolean always.
* range.c (range_init): fix int flag and boolean VALUE.
git-svn-id: svn+s...
nobu (Nobuyoshi Nakada)
05:18 AM Revision a6d095bd (git): range.c: setter macros
* range.c (RANGE_SET_{BEG,END,EXCL}): add setter macros which wrap
RSTRUCT_SET() and index.
git-svn-id: svn+ssh://...
nobu (Nobuyoshi Nakada)
03:23 AM Feature #9049: Shorthands (a:b, *) for inclusive indexing
On Oct 24, 2013, at 7:19 AM, matz (Yukihiro Matsumoto) wrote:

> * Should non number indexing be allowed? (e.g. n...
david_macmahon (David MacMahon)
03:23 AM Feature #9049: Shorthands (a:b, *) for inclusive indexing
>
> 4) It is more intuitive for new Ruby programmers who come from a
> Matlab/Octave/Python background. I'm not...
agarie (Carlos Agarie)
03:23 AM Feature #9049: Shorthands (a:b, *) for inclusive indexing
On Oct 23, 2013, at 10:36 PM, boris_stitnicky (Boris Stitnicky) wrote:

> @david_macmahon: I do not think that the...
david_macmahon (David MacMahon)
02:53 AM Feature #9049: Shorthands (a:b, *) for inclusive indexing
On Oct 24, 2013, at 1:24 AM, Eregon (Benoit Daloze) wrote:

> @david_macmahon What about (1..5).step(2).to_a ?

...
david_macmahon (David MacMahon)
02:53 AM Feature #9049: Shorthands (a:b, *) for inclusive indexing
On Oct 23, 2013, at 11:39 PM, Fuad Saud wrote:

> How is a:b better than a..b? two dots are straightforward, unamb...
david_macmahon (David MacMahon)
02:21 AM Feature #8956: Allow hash members delimited by \n inside of {}
bump? This looks helpful. timrosenblatt (Tim Rosenblatt)

10/24/2013

11:55 PM Feature #9049: Shorthands (a:b, *) for inclusive indexing
Yes. 1:2 is the same as 1..2; it's inclusive of the begin and end indices. It is not equivalent to 1...2.
I would ...
mohawkjohn (John Woods)
11:19 PM Feature #9049: Shorthands (a:b, *) for inclusive indexing
Could you be more specific?
* What is the value of 1:2?
* Is it equivalent to 1...2?
* Should non number i...
matz (Yukihiro Matsumoto)
05:24 PM Feature #9049: Shorthands (a:b, *) for inclusive indexing
I am not sure m[1:3,2:4] is really preferable to m[1..3,2..4] in Ruby.
The first one is certainly more Matlab, Octav...
Eregon (Benoit Daloze)
03:53 PM Feature #9049: Shorthands (a:b, *) for inclusive indexing
How is a:b better than a..b? two dots are straightforward, unambiguous, well known.

I don’t see a need for it. As...
fuadksd (Fuad Saud)
03:50 PM Feature #9049: Shorthands (a:b, *) for inclusive indexing
@boris_stitnicky I don't think it matters if it collides. It's simple to convert a key-value pair into a range in C c... mohawkjohn (John Woods)
03:23 PM Feature #9049: Shorthands (a:b, *) for inclusive indexing
On Oct 23, 2013, at 10:36 PM, boris_stitnicky (Boris Stitnicky) wrote:

> @david_macmahon: I do not think that the...
david_macmahon (David MacMahon)
02:36 PM Feature #9049: Shorthands (a:b, *) for inclusive indexing
@david_macmahon: I do not think that the wish to make a : b an alias of a .. b
can fit into the language anymore. "x...
Anonymous
02:29 PM Feature #9049: Shorthands (a:b, *) for inclusive indexing
I would like to see the hash colon syntax extended to numeric keys:
{ 1: 3, 2: 4 } would mean { 1 => 3, 2 => 4 }.
...
Anonymous
01:53 PM Feature #9049: Shorthands (a:b, *) for inclusive indexing
I like the compactness of the a:b notation. My preference would be for it to be a Range shorthand, but I think that ... david_macmahon (David MacMahon)
11:54 AM Feature #9049 (Open): Shorthands (a:b, *) for inclusive indexing
For NMatrix, we've implemented a range shorthand which relies on Hashes: `m[1=>3, 2=>4]`, for example, which returns ... mohawkjohn (John Woods)
10:59 PM Bug #9048: Remove legacy ±(binary) special cases.
r43413 is backported to ruby_2_0_0 branch at r43415. nagachika (Tomoyuki Chikanaga)
10:15 PM Bug #9048: Remove legacy ±(binary) special cases.
I think it's a bug and 1.9.3/2.0.0 have save problem. nagachika (Tomoyuki Chikanaga)
09:58 PM Bug #9048 (Closed): Remove legacy ±(binary) special cases.
This issue was solved with changeset r43413.
Marc-Andre, thank you for reporting this issue.
Your contribution to Rub...
marcandre (Marc-Andre Lafortune)
11:22 AM Bug #9048 (Assigned): Remove legacy ±(binary) special cases.
I agree.
Matz.
matz (Yukihiro Matsumoto)
12:30 AM Bug #9048 (Closed): Remove legacy ±(binary) special cases.
Is there any reason not to get rid of the following special cases?
'+(binary)'.to_sym # => :+ when expected :"...
marcandre (Marc-Andre Lafortune)
10:48 PM Bug #9038: instance_eval throws RuntimeError for bad syntax (regression from 2.0.0)
r43376 is backported to `ruby_2_0_0` branch at r43414. I modify test code not to use new assertion of `Test::Unit`. nagachika (Tomoyuki Chikanaga)
09:43 PM Bug #9051 (Closed): open-uri meta_add_field method removed
In the fix for bug #4964 the method Meta#meta_add_field(name, value) was removed and replaced with meta_add_field2(na... eweb (Eamonn Webster)
08:53 PM Bug #9050 (Closed): I may have encountered a bug in the Ruby interpreter or extension libraries.

I got this message from two different sorce code.(Case1, Case2)
and, I recieve wrong http response data.(Case3)
...
sekai (sekai kobayashi)
06:19 PM Revision 8a9358c5 (git): * 2013-10-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:19 PM Revision 5ef68ab2 (git): Makefile.sub: fix typo
* win32/Makefile.sub (MISSING): fix typo, missing extention.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43417...
nobu (Nobuyoshi Nakada)
02:31 PM Revision 9493eb72 (git): * lib/rubygems: Update to RubyGems 2.0.12. [ruby-core:57818]
[Backport #9014]
the patch is provided by drbrain (Eric Hodel).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branc...
nagachika (Tomoyuki Chikanaga)
01:58 PM Revision 11239c0e (git): merge revision(s) 43413: [Backport #9048]
* parse.y: Remove +(binary) and -(binary) special cases
[Feature #9048]
git-svn-id: svn+ssh://ci.ruby-lan...
nagachika (Tomoyuki Chikanaga)
01:46 PM Revision cafc5a30 (git): merge revision(s) 43376: [Backport #9038]
* encoding.c (load_encoding): should preserve outer errinfo, so that
expected exception may not be lost. [...
nagachika (Tomoyuki Chikanaga)
12:58 PM Revision 8afbb0e6 (git): * parse.y: Remove +(binary) and -(binary) special cases [Feature #9048]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
11:56 AM Feature #9047: Alternate hash key syntax for symbols
@matz Very well, and thank you for the consideration. I opened a new issue on that topic: #9049. mohawkjohn (John Woods)
11:21 AM Feature #9047: Alternate hash key syntax for symbols
@mohawkjohn let us separate the issue. There may be a chance to introduce num:num literals for your purpose (just ma... matz (Yukihiro Matsumoto)
02:03 AM Feature #9047: Alternate hash key syntax for symbols
I still think my original suggestion is more consistent and has fewer implications, but would like further input. jamonholmgren (Jamon Holmgren)
12:54 AM Feature #9047: Alternate hash key syntax for symbols
This may or may not be related, but we here at NMatrix (part of SciRuby) would love to be able to index ranges in NMa... mohawkjohn (John Woods)
12:40 AM Feature #9047: Alternate hash key syntax for symbols
yes, it makes sense to me to accept anything as a key. The only problem is that we can't use names in variables with ... rosenfeld (Rodrigo Rosenfeld Rosas)
12:37 AM Feature #9047: Alternate hash key syntax for symbols
I would be okay with your idea, Rodrigo, although it's less consistent (if you look at my first code block in the des... jamonholmgren (Jamon Holmgren)
12:29 AM Feature #9047: Alternate hash key syntax for symbols
I'd prefer to reserve this syntax as a short hash syntax for string keyed hashes:
~~~ruby
{
'string': 'v' # equ...
rosenfeld (Rodrigo Rosenfeld Rosas)
12:17 AM Feature #9047 (Closed): Alternate hash key syntax for symbols
=begin
In Ruby, if you can create a symbol with ((|:"symbolname"|)), it seems consistent to allow moving the colon...
jamonholmgren (Jamon Holmgren)
11:33 AM Feature #9045: URIに含まれるエンコードされたID/パスワードがデコードされない
>>sorah
> 他のメソッドもデコードしてくれる訳じゃないですしuser/passだけ特別扱いというのはどうも。
とは言え、サーバ側が良きにはからってくれるpath等と違ってuser/passwordは完全一致でないと許さ...
vmi (Motonori IWAMURO)
10:23 AM Bug #9040: Readline duplicate file descriptors but doesn't close them
2013/10/24 Eric Wong <[email protected]>:

> On a related note: should rb_fd_set/rb_fd_resize call rb_bug on...
akr (Akira Tanaka)
05:23 AM Bug #9040: Readline duplicate file descriptors but doesn't close them
"akr (Akira Tanaka)" <[email protected]> wrote:
> Issue #9040 has been updated by akr (Akira Tanaka).
>
> File rea...
normalperson (Eric Wong)
07:47 AM Bug #9035 (Closed): [proposal] new RUBY_GC_HEAP_GROWTH_MAX_OBJ tuning parameter
This issue was solved with changeset r43409.
Aman, thank you for reporting this issue.
Your contribution to Ruby is g...
tmm1 (Aman Karmani)
03:48 AM Revision ec9ec264 (git): * object.c: [DOC] Document first argument also takes string for:
rb_mod_const_get, rb_mod_const_set, rb_mod_const_defined
Also added note about NameError exception for invalid con...
zzak (zzak _)
03:25 AM Revision 61430a16 (git): * thread.c (rb_thread_terminate_all): add a comment why we need
state check and call terminate_i again.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43411 b2dd03c8-39d4-4d8f-9...
kosaki (Motohiro KOSAKI)
03:15 AM Revision 30edf111 (git): * thread.c (rb_thread_terminate_all): add a comment why infinite
sleep is safe.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
02:23 AM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
Tanaka Akira <[email protected]> wrote:
> 2013/10/8 headius (Charles Nutter) <[email protected]>:
> > Feature #8992...
normalperson (Eric Wong)
02:23 AM Feature #8998: string keys for hash literals should use fstrings
Eric Wong <[email protected]> wrote:
> So my proposed patch should be safe to apply, but it's only a partial
...
normalperson (Eric Wong)
01:34 AM Bug #9044 (Closed): Too many warnings with VC 2013
This issue was solved with changeset r43407.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is...
nobu (Nobuyoshi Nakada)
12:10 AM Feature #7292 (Closed): Enumerable#to_h
This issue was solved with changeset r43401.
Marc-Andre, thank you for reporting this issue.
Your contribution to Rub...
marcandre (Marc-Andre Lafortune)

10/23/2013

11:46 PM Bug #9044: Too many warnings with VC 2013
The revision 43398 has a bug.
!if $(RT_VER) >= 1200
should be
!if $(RT_VER) >= 120
And the above path has a b...
phasis68 (Heesob Park)
11:04 PM Bug #9044: Too many warnings with VC 2013
=begin
Does this suppress (({INFINITY})) warnings?
diff --git a/include/ruby/win32.h b/include/ruby/win32.h
index ...
nobu (Nobuyoshi Nakada)
10:52 PM Bug #9044 (Assigned): Too many warnings with VC 2013
"by design"!? nobu (Nobuyoshi Nakada)
10:51 PM Bug #9044 (Closed): Too many warnings with VC 2013
This issue was solved with changeset r43398.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is...
nobu (Nobuyoshi Nakada)
05:19 PM Bug #9044: Too many warnings with VC 2013
Here is a part of math.h
#ifndef _HUGE_ENUF
#define _HUGE_ENUF 1e+300 /* _HUGE_ENUF*_HUGE_ENUF must overflow */
...
phasis68 (Heesob Park)
05:02 PM Bug #9044: Too many warnings with VC 2013
Thank you.
I'm not sure how INFINITY is defined, any negative INFINITY constant is defined?
nobu (Nobuyoshi Nakada)
04:33 PM Bug #9044: Too many warnings with VC 2013
Yes, Visual C++ in Visual Studio 2013 have been added some C99 library support.
Refer to
http://msdn.microsoft.c...
phasis68 (Heesob Park)
03:39 PM Bug #9044: Too many warnings with VC 2013
Those mathematics functions and a constant have been added? nobu (Nobuyoshi Nakada)
02:57 PM Bug #9044 (Closed): Too many warnings with VC 2013
While building with Visual Studio Express 2013 on Windows 7, I can see many warnings like inconsistent dll linkage an... phasis68 (Heesob Park)
10:53 PM Feature #9045: URIに含まれるエンコードされたID/パスワードがデコードされない
At Wed, 23 Oct 2013 19:19:45 +0900,
sorah (Shota Fukumori) wrote:
> 他のメソッドもデコードしてくれる訳じゃないですしuser/passだけ特別扱いというのは...
fumiyas (Fumiyasu SATOH)
07:19 PM Feature #9045 (Assigned): URIに含まれるエンコードされたID/パスワードがデコードされない
他のメソッドもデコードしてくれる訳じゃないですしuser/passだけ特別扱いというのはどうも。
>> URI.parse('http://example.com/%2F').path
=> "/%2F"
sorah (Sorah Fukumori)
05:29 PM Feature #9045: URIに含まれるエンコードされたID/パスワードがデコードされない
追記。
#8979 のそもそもの原因はこれだと思うのですが、あっちは rubygems の方直してるんですね……。
(こちらもgemが通らなくて調べてたのですが)
利用側でデコードするのと、提供側でデコードするのと、どちらが適切...
vmi (Motonori IWAMURO)
03:37 PM Feature #9045 (Closed): URIに含まれるエンコードされたID/パスワードがデコードされない
URI(プロキシ設定も含む)にID/パスワードを含めるとき、IDやパスワードに「@」や「:」等がある場合はURIエンコードする必要がありますが、uriライブラリがこれをデコードしてくれません。
そのため、認証プロキシでIDに「@」が...
vmi (Motonori IWAMURO)
10:47 PM Revision b906f0ed (git): * gc.c: add new initial_growth_max tuning parameter. [ruby-core:57928] [Bug #9035]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tmm1 (Aman Karmani)
09:23 PM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
2013/10/8 headius (Charles Nutter) <[email protected]>:
> Feature #8992: Use String#freeze and compiler tricks t...
akr (Akira Tanaka)
08:52 PM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
I agree having optimized #freeze is better than #f. Eregon (Benoit Daloze)
05:13 AM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
> I'm starting to lean toward making #f be the only magic form, so nobody can complain that we're ... changing the se... Anonymous
06:17 PM Bug #9040: Readline duplicate file descriptors but doesn't close them
normalperson (Eric Wong) wrote:
>
> Btw, on a separate note, it would be a good idea to check the return
> val...
akr (Akira Tanaka)
01:29 AM Bug #9040: Readline duplicate file descriptors but doesn't close them
"akr (Akira Tanaka)" <[email protected]> wrote:
> Issue #9040 has been updated by akr (Akira Tanaka).
>
> File rea...
normalperson (Eric Wong)
05:11 PM Bug #9046: [PATCH] Inter-process locking for log rotation is required
The point "current implementation is wrong on multi-process environment" sounds reasonable and need to fix.
I comm...
naruse (Yui NARUSE)
03:44 PM Bug #9046 (Closed): [PATCH] Inter-process locking for log rotation is required
I sent a pull request on https://github.com/ruby/ruby/pull/428 . Please see details on it.
sonots (Naotoshi Seo)
04:34 PM Revision a0c67155 (git): win32.h: suppress INFINITY warnings
* include/ruby/win32.h (rb_infinity_float): suppress overflow in
constant arithmetic warnings. [ruby-core:57981] [...
nobu (Nobuyoshi Nakada)
04:34 PM Revision 33945edf (git): Makefile.sub: C99 mathematics functions
* win32/Makefile.sub (config.h): fix version number of runtime
library. log2 needs to be defined, not only HAVE_LO...
nobu (Nobuyoshi Nakada)
04:34 PM Revision c7f60a0b (git): * ChangeLog: adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:14 PM Revision f9a169ff (git): * lib/ostruct.rb: raise NoMethodError with a #name and #args.
Patch by Kenichi Kamiya. [Fixes GH-383]
* test/ostruct/test_ostruct.rb: Added tests for above.
git-svn-id: svn+ssh:...
Marc-Andre Lafortune
03:13 PM Revision 5b5de398 (git): * lib/ostruct.rb (Struct#each_pair): Return an enumerator with size
Patch by Kenichi Kamiya. [Fixes GH-383]
* test/ostruct/test_ostruct.rb: Added tests for above.
git-svn-id: svn+ssh:...
Marc-Andre Lafortune
03:13 PM Revision 99d5d90f (git): * lib/ostruct.rb (OpenStruct#delete): Use the converted argument.
Patch by Kenichi Kamiya. [Fixes GH-383]
* test/ostruct/test_ostruct.rb: Added tests for above.
git-svn-id: svn+ssh:...
Marc-Andre Lafortune
03:13 PM Revision b9e18abe (git): * lib/ostruct.rb: Raise RuntimeError when modifying frozen instances
instead of TypeError. Patch by Kenichi Kamiya. [Fixes GH-383]
* test/ostruct/test_ostruct.rb: Added tests for above....
Marc-Andre Lafortune
03:10 PM Revision dc215dcd (git): * array.c: Add Array#to_h [Feature #7292]
* enum.c: Add Enumerable#to_h
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43401 b2dd03c8-39d4-4d8f-98ff-823fe6...
Marc-Andre Lafortune
03:05 PM Revision 57e52dea (git): * 2013-10-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:05 PM Revision dd117ea1 (git): * gc.c: Rename free_min to min_free_slots and free_min_page to max_free_slots. The algorithm for heap growth is:
if (swept_slots < min_free_slots) pages++
if (swept_slots > max_free_slots) pages--
git-svn-id: svn+ssh://ci.rub...
tmm1 (Aman Karmani)
01:51 PM Revision dd2979b3 (git): Makefile.sub: C99 mathematics functions
* win32/Makefile.sub (config.h): VC 2013 supports C99 mathematics
functions. [ruby-core:57981] [Bug #9044]
git-sv...
nobu (Nobuyoshi Nakada)
12:05 PM Bug #9038: instance_eval throws RuntimeError for bad syntax (regression from 2.0.0)
Even though this issue is not reproducible with 2.0.0, the same flaw exists on `ruby_2_0_0`. I'll backport r43376 to ... nagachika (Tomoyuki Chikanaga)
10:16 AM Revision 60224114 (git): * gc.c: move increment from heap to heap_pages.
Share `increment' information with heaps.
* gc.c: change ratio of heap_pages_free_min_page
to 0.80.
This change m...
ko1 (Koichi Sasada)
08:52 AM Revision 99c4e43d (git): * gc.c (heap_pages_free_unused_pages): cast to (int) for size_t
variable `i'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
08:48 AM Revision 69d787ff (git): * gc.c: introduce tomb heap.
Tomb heap is where zombie objects and ghost (freed slot) lived in.
Separate from other heaps (now there is only ede...
ko1 (Koichi Sasada)
05:22 AM Revision 29ffa2c2 (git): * gc.c (gc_prof_sweep_timer_stop): catch up recent changes
to compile on GC_PROFILE_MORE_DETAIL=1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43394 b2dd03c8-39d4-4d8f...
ko1 (Koichi Sasada)
05:09 AM Feature #9043: Add String#f method as shortcut for #freeze
I feel really negatively about optimizing only String#f and not String#freeze. You could make the argument that it's ... Anonymous
04:07 AM Feature #8556: MutexedDelegator as a trivial way to make an object thread-safe
ko1 (Koichi Sasada) wrote:
> (1) Try gem first
We could certainly put this into thread_safe gem, which is now a d...
headius (Charles Nutter)
02:44 AM Revision 2bd5ab35 (git): * file.c: [DOC] fix rdoc format of File#expand_path from r43386
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)

10/22/2013

11:55 PM Feature #8556: MutexedDelegator as a trivial way to make an object thread-safe
Sorry for late.
----
Summary: I believe we need more experience before including this library as standard.
(...
ko1 (Koichi Sasada)
09:23 PM Feature #8556: MutexedDelegator as a trivial way to make an object thread-safe
Still waiting to read ko1's objection. I am prepared to commit a monitor-based delegator if we go forward. headius (Charles Nutter)
09:54 PM Misc #9006: build and host binary rubies
=begin
This is what I wanted to discuss, right now the whole process is controlled in rvm, so the builds are done an...
mpapis (Michal Papis)
03:20 PM Misc #9006: build and host binary rubies
Hi, Michal
I'm ok for your suggestion. but I have two questions.
1. How to upload/sync rvm package files?
2....
hsbt (Hiroshi SHIBATA)
09:20 PM Feature #8909: Expand "f" frozen suffix to literal arrays and hashes
FWIW, I added #9043 that proposes an #f method added to String that would be a shortcut for #freeze. That might make ... headius (Charles Nutter)
09:19 PM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
I have added #9042 and #9043 for removing the "f" suffix and adding the #f method, respectively.
I'm starting to l...
headius (Charles Nutter)
09:16 PM Feature #9043 (Assigned): Add String#f method as shortcut for #freeze
We have String#b to create a binary-encoded String, and we have the "f" suffix (going away, hopefully) and the "liter... headius (Charles Nutter)
09:14 PM Feature #9042 (Closed): Remove "f" suffix in favor of VM optimization of "literal".freeze
The "f" suffix has been added to Ruby trunk to allow creating pre-frozen literal strings. However, #8992 provides a w... headius (Charles Nutter)
07:47 PM Bug #9040: Readline duplicate file descriptors but doesn't close them
normalperson (Eric Wong) wrote:
>
> Does poll work reliably with tty FD on non-Linux systems?
>
> Perhaps b...
akr (Akira Tanaka)
06:59 AM Bug #9040: Readline duplicate file descriptors but doesn't close them
"akr (Akira Tanaka)" <[email protected]> wrote:
>
> Issue #9040 has been updated by akr (Akira Tanaka).
>
> Fil...
normalperson (Eric Wong)
06:05 PM Bug #9002: Use simpler example for File#expand_path
Thanks Benoit :) cha1tanya (Prathamesh Sonpatki)
04:59 PM Bug #9002 (Closed): Use simpler example for File#expand_path
This issue was solved with changeset r43386.
Prathamesh, thank you for reporting this issue.
Your contribution to Rub...
Eregon (Benoit Daloze)
04:42 PM Bug #9002: Use simpler example for File#expand_path
This is better.
There is a typo "exapnd_path" and I would avoid references to your specific machine and Rails but us...
Eregon (Benoit Daloze)
03:59 PM Bug #8006 (Closed): Dir.glob behaves differently on 1.9.3 and 2.0
This issue was solved with changeset r43385.
Thomas, thank you for reporting this issue.
Your contribution to Ruby is...
nobu (Nobuyoshi Nakada)
03:46 PM Revision 9229a0f3 (git): * 2013-10-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:46 PM Revision a7e66877 (git): fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:59 PM Revision ec6f0778 (git): * vm_core.h (enum): avoid syntax error.
* method.h: ditto.
* internal.h: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43390 b2dd03c8-3...
shyouhei (Shyouhei Urabe)
12:39 PM Bug #9041: Please add alias "starts_with?" to class String
@naruse: Thanks for responding and explaining. Yet, 3rd person forms
#starts_with?, #ends_with?, #exists? etc. seem ...
Anonymous
10:54 AM Revision 3d85d6ed (git): * gc.c (Init_heap): move logics from heap_pages_init() and remove
heap_pages_init().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
10:28 AM Revision d6fe84b6 (git): * gc.c: allow multiple heaps.
Now, objects are managed by page. And a set of pages is called heap.
This commit supports multiple heaps in the obj...
ko1 (Koichi Sasada)
09:29 AM Revision 4292fd77 (git): * lib/pp.rb (object_address_group): Use Kernel#to_s to obtain the class
name and object address.
This fix a problem caused by %p in C generates variable length
address.
Reported by ko...
akr (Akira Tanaka)
07:59 AM Revision 5b91ab1f (git): * file.c (File#expand_path): [DOC] improve documentation of File#expand_path.
Based on patch by Prathamesh Sonpatki. [ruby-core:57734] [Bug #9002]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru...
Eregon (Benoit Daloze)
06:59 AM Revision f57c988e (git): dir.c: DOTMATCH to current directory
* dir.c (glob_helper): don't skip current directories if FNM_DOTMATCH
is given. [ruby-core:53108] [Bug #8006]
git...
nobu (Nobuyoshi Nakada)
06:58 AM Revision 4ae79ade (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:24 AM Revision f5b15f0e (git): * vm_trace.c: exterminate Zombies.
There is a bug that T_ZOMBIE objects are not collected.
Because there is a pass to miss finalizer postponed job
w...
ko1 (Koichi Sasada)
03:45 AM Bug #9035: [proposal] new RUBY_GC_HEAP_GROWTH_MAX_OBJ tuning parameter
I would prefer (b) above. Exposing a bytesize based limit is just going to confuse users, who will expect the variabl... tmm1 (Aman Karmani)
03:11 AM Revision 3636f8c0 (git): configure.in: check CFLAGS and LDFLAGS
* configure.in: check if the given CFLAGS and LDFLAGS are working, and
bail out early if not.
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)
02:03 AM Revision 2addc8cd (git): internal.h: fix typo
* internal.h (rb_syserr_fail_path): fix typo on platforms where
function name string predefined identifier is not s...
nobu (Nobuyoshi Nakada)

10/21/2013

11:57 PM Bug #9038 (Closed): instance_eval throws RuntimeError for bad syntax (regression from 2.0.0)
This issue was solved with changeset r43376.
André, thank you for reporting this issue.
Your contribution to Ruby i...
nobu (Nobuyoshi Nakada)
03:22 PM Bug #9038 (Closed): instance_eval throws RuntimeError for bad syntax (regression from 2.0.0)
In Ruby 2.1.0dev (2013-10-20 trunk 43373), `instance_eval` throws a `RuntimeError` when it should throw a `SyntaxErro... indirect (André Arko)
11:51 PM Bug #9040: Readline duplicate file descriptors but doesn't close them
I think it's better to not trust the value of rl_instream and rl_outstream
because they can be modified by other lib...
akr (Akira Tanaka)
09:36 PM Bug #9040 (Closed): Readline duplicate file descriptors but doesn't close them
This depends on the max open files limit, happens quicker the lower the limit.
irb crashes just by holding down retu...
eweb (Eamonn Webster)
11:22 PM Bug #9041 (Rejected): Please add alias "starts_with?" to class String
shevegen (markus heiler) wrote:
> I forgot to add - I was told that the reason for this is that we should use the 2n...
naruse (Yui NARUSE)
11:17 PM Bug #9041: Please add alias "starts_with?" to class String
I forgot to add - I was told that the reason for this is that we should use the 2nd person, as in:
"Word, do you s...
shevegen (Robert A. Heiler)
11:15 PM Bug #9041 (Rejected): Please add alias "starts_with?" to class String
Hi.
We can do these:
FileUtils.touch 'test' # => ["test"]
File.exist? 'test' # => true
File.exists? 'test...
shevegen (Robert A. Heiler)
10:45 PM Bug #8886: TracePoint API inconsistence when raise used
So, any opinions on this @ko1?
I'm handling this edge case in byebug manually so it's not a big deal but it'd be n...
deivid (David Rodríguez)
05:06 PM Revision 22a96138 (git): dir.c: warn Dir.exists?
* dir.c (rb_dir_exists_p): warn deprecated name. [Bug #9041]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4338...
nobu (Nobuyoshi Nakada)
04:09 PM Bug #9039 (Closed): [PATCH] socket: avoid unnecessary ppoll/select on Linux (part 3)
It is safe on Linux to attempt using a socket without waiting on it in
all cases. For some syscalls (e.g. accept/ac...
normalperson (Eric Wong)
03:34 PM Revision 1ca90bea (git): * file.c (rb_file_exists_p): maybe FileTest.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:07 PM Revision 68b85e9d (git): * 2013-10-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:06 PM Revision 058d55ad (git): file.c: warn File.exists?
* file.c (rb_file_exists_p): warn deprecated name. [Bug #9041]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43...
nobu (Nobuyoshi Nakada)
02:57 PM Revision 274e50c1 (git): encoding.c: preserve outer errinfo
* encoding.c (load_encoding): should preserve outer errinfo, so that
expected exception may not be lost. [ruby-cor...
nobu (Nobuyoshi Nakada)
02:53 PM Revision 3f939a44 (git): * 2013-10-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:53 PM Revision ac6268db (git): assertions.rb: fix omitted message
* lib/test/unit/assertions.rb (assert_raise_with_message): remove
omitted message by splatting nil.
git-svn-id: sv...
nobu (Nobuyoshi Nakada)

10/20/2013

06:53 PM Feature #9023: Array#tail
List (and Array) is a snake : everything but head is tail :)


2013/10/18 Fuad Saud <[email protected]>

>...
funny_falcon (Yura Sokolov)
06:12 PM Bug #9011 (Closed): rb_fstring unsafe to use in general case
nobu (Nobuyoshi Nakada)
03:51 PM Feature #9037 (Closed): Memoization of "anonymous constants"
=begin
I was thinking about the frozen literal argument in https://bugs.ruby-lang.org/issues/8992. I believe that th...
sawa (Tsuyoshi Sawada)
03:41 PM Bug #9036 (Closed): [PATCH] io.c: make IO#reopen("pathname") atomic for non-stdio
This issue was solved with changeset r43373.
Eric, thank you for reporting this issue.
Your contribution to Ruby is g...
nobu (Nobuyoshi Nakada)
01:29 PM Bug #9036: [PATCH] io.c: make IO#reopen("pathname") atomic for non-stdio
"normalperson (Eric Wong)" <[email protected]> wrote:
> Without this patch, I need to maintain separate code p...
normalperson (Eric Wong)
01:16 PM Bug #9036 (Closed): [PATCH] io.c: make IO#reopen("pathname") atomic for non-stdio
Since rb_sysopen releases the GVL, calling close(fptr->fd) would
leave a window where accessing the file from anothe...
normalperson (Eric Wong)
10:53 AM Bug #9008: TestProcess#test_clock_getres_constants and TestProcess#test_clock_gettime_constants fails on ARM
> I and John Stulz agreed we need Linux kernel

s/need Linux kernel/need to fix Linux kernel/, of course.
kosaki (Motohiro KOSAKI)
07:08 AM Bug #9008: TestProcess#test_clock_getres_constants and TestProcess#test_clock_gettime_constants fails on ARM
Thank you for sorting this out! vo.x (Vit Ondruch)
06:41 AM Revision de004e3a (git): io.c: make IO#reopen("pathname") atomic
* io.c (rb_io_reopen): create a new, temporary FD via rb_sysopen and
call rb_cloexec_dup2 on it to atomically repla...
nobu (Nobuyoshi Nakada)
06:29 AM Revision c6b9f291 (git): internal.h: rb_syserr_fail_path
* error.c (rb_syserr_fail_path_in): new function split from
rb_sys_fail_path_in to raise SystemCallError without er...
nobu (Nobuyoshi Nakada)
06:12 AM Revision 52231de9 (git): internal.h: remove stale declaration
* internal.h (rb_w32_init_file): no longer defined since r43362.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4...
nobu (Nobuyoshi Nakada)
04:58 AM Revision 291aead0 (git): ruby.h: suppress warnings
* include/ruby/ruby.h (rb_obj_wb_unprotect, rb_obj_written),
(rb_obj_write): suppress unused-parameter warnings.
g...
nobu (Nobuyoshi Nakada)
01:33 AM Revision 3f15d35f (git): * lib/rubygems: Update RubyGems to master 0886307. This commit
improves documentation and should bring ruby above 75% documented on
rubyci.
git-svn-id: svn+ssh://ci.ruby-lang.o...
drbrain (Eric Hodel)
12:31 AM Revision 8552f7aa (git): * lib/rubygems: Update to RubyGems master 3de7e0f. Changes:
Only attempt to build extensions for newly-installed gems. This
prevents compilation attempts at gem activation ti...
drbrain (Eric Hodel)

10/19/2013

10:00 PM Bug #9002: Use simpler example for File#expand_path
Updated based on suggestions of @zzak and @Eregon. Please take a look cha1tanya (Prathamesh Sonpatki)
08:49 PM Bug #9002: Use simpler example for File#expand_path
cha1tanya (Prathamesh Sonpatki) wrote:
> Can we give both examples? I think the original example is a bit hard to un...
Eregon (Benoit Daloze)
08:24 PM Revision 347e748b (git): variable.c: real class name
* variable.c (rb_class2name): should return real class name, not
singleton class or iclass.
git-svn-id: svn+ssh:/...
nobu (Nobuyoshi Nakada)
07:21 PM Revision ddbee25a (git): * 2013-10-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:21 PM Revision 3a90444c (git): * variable.c (rb_class2name): call rb_tmp_class_path() directly to avoid extra rb_str_dup() from rb_class_name().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tmm1 (Aman Karmani)
01:25 PM Feature #5630 (Rejected): Missing custom transfer modes in Net::FTP
I close this issue because there's no feedback for a long time. shugo (Shugo Maeda)
01:24 PM Feature #7145 (Rejected): Add string-based range support to IMAP library
I close this issue because there's no feedback for a long time. shugo (Shugo Maeda)
12:00 PM Revision 16b44500 (git): encdb.h.tmpl: remove stale macros
* template/encdb.h.tmpl: remove stale ENCIDX macros which never been
used, ENCINDEX enums is used.
git-svn-id: svn...
nobu (Nobuyoshi Nakada)
10:59 AM Revision cb4b55d3 (git): win32/file.c: code page table
* win32/file.c (code_page): use simple array instead of st_table.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
nobu (Nobuyoshi Nakada)
10:55 AM Revision eeb3156e (git): encoding.c: defer code page table
* encoding.c (rb_locale_encindex): defer initialization of win32 code
page table until encoding db loaded.
git-svn...
nobu (Nobuyoshi Nakada)
09:00 AM Bug #9008 (Rejected): TestProcess#test_clock_getres_constants and TestProcess#test_clock_gettime_constants fails on ARM
I and John Stulz agreed we need Linux kernel and now my patch is queued for linux 3.13.
It mean Linux 3.13 and later...
kosaki (Motohiro KOSAKI)
04:27 AM Bug #9032 (Third Party's Issue): Time.round reverts the DST status of the time
It's not Time class object, but ActiveSupport::TimeWithZone.
It seems handling local time and time zone separately, ...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom