Activity
From 10/22/2013 to 10/28/2013
10/28/2013
-
06:44 PM Bug #9027: [Doc] improve rdoc of Digest module
- @zzak. Any Feedback...?
-
04:56 PM Bug #9053: SSL Issue with Ruby 2.0.0
- chittoor (Rajesh Malepati) wrote:
> tisba (Sebastian Cohnen) wrote:
> ...
Okay thanks, I'll take a look.
But this doesn't really explain, why only Ruby 2.0 is affected, or does it? -
03:01 PM Bug #9056: Segmentation fault after upgrading to OSX Maverick and runnning berks upload
- Thanks! turns out I had to install xcode. Perhaps the old version of xcode was interfering with the command line tools.
Before installing xcode my gcc version was:
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. bui... -
01:34 PM Bug #9056 (Third Party's Issue): Segmentation fault after upgrading to OSX Maverick and runnning berks upload
- Seems issue of ffi.
-
02:29 AM Bug #9056: Segmentation fault after upgrading to OSX Maverick and runnning berks upload
- Sorry, the full ruby -v:
ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin13.0.0] -
02:28 AM Bug #9056 (Third Party's Issue): Segmentation fault after upgrading to OSX Maverick and runnning berks upload
- See full log:
http://pastebin.com/AU316Bx3
Let me know if you need more information.
The bug is with ruby 2 p247.
I tried reinstalling ruby with rvm after upgrading, but I get the same error. -
02:26 PM Revision e2ec7605 (git): * test/readline/test_readline.rb (teardown): Clear Readline.input and
- Readline.output.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:53 PM Feature #9049: Shorthands (a:b, *) for inclusive indexing
- (13/10/26 17:11), boris_stitnicky (Boris Stitnicky) wrote:
> @mohawkjoh: Tilde is bad, too. From basic ASCII (I looked), everything is taken, except
> for ^, and which should be avoided because it means power in many languages.
... -
12:48 PM Bug #8883: Rational canonicalization unexpectedly converts to Fixnum
- Hello, melquiades
Don't you build your binary with --with-static-linked-ext ?
A similar issue is reported when extension library mathn/rational is statically linked.
See #8879
If so, require "mathn" explicitly ease the problem. -
10:38 AM Bug #8883: Rational canonicalization unexpectedly converts to Fixnum
- Hi
melquiades (Paul Cantrell) wrote:
> (2) The bug occurs when you include _nothing_ at all:
> ...
I can't reproduce this, with ruby 2.0.0p247, p195 nor trunk.
-
12:38 PM Revision 73ef296c (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:36 PM Revision d3e84880 (git): * ext/-test-/file/depend, ext/-test-/postponed_job/depend,
- ext/-test-/tracepoint/depend: New files for dependencies.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:58 AM Bug #9055 (Rejected): Global methods called from an object can access object's internals
- That's what global methods are. If you have objection, you need to be more specific and concrete.
What exactly do you want, and what behavior of global methods will satisfy you?
Matz.
-
12:21 AM Bug #9055 (Rejected): Global methods called from an object can access object's internals
- =begin
When I run the following program:
def foo()
bar(1)
puts "baz: #{@baz}"
end
def bar(n)
puts "global bar: #{n}"
end
class X
def initialize()
@baz = 42
foo()
end
... -
06:32 AM Revision 8f675f0b (git): openssl: work around of dependency
- * ext/openssl/depend (ossl.o): work around of dependency of
thread_native.h, which depends on headers by THREAD_MODEL.
[ruby-dev:47777]
* ext/openssl/extconf.rb: need THREAD_MODEL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4... -
06:32 AM Revision 106ce21e (git): * goruby.c (init_golf): append suffix.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:57 AM Revision 06969b6b (git): load.c: share feature names
- * load.c (ruby_init_ext): share feature names between frame name and
provided features.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:45 AM Revision 37015497 (git): * misc/ruby-electric.el: Import ruby-electric.el 2.1 from
- https://github.com/knu/ruby-electric.el.
* Hitting the newline-and-indent key within a comment fires
comment-indent-new-line.
* Introduce a new feature
`ruby-electric-autoindent-on-closing-char`.
* Fix fallback behavior ... -
04:17 AM Revision 6cb24cee (git): error.c: remove NameError#to_s
- * error.c (name_err_to_s): remove no longer needed overriding, since
r30455 which made exc_to_s almost same. Fixes [GH-413].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:11 AM Revision 4a21c8cc (git): test_exception.rb: missing test
- * test/ruby/test_exception.rb (test_to_s): missing test for r30455.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:43 AM Revision 674f14a0 (git): * common.mk, ext/objspace/depend, ext/coverage/depend,
- ext/-test-/debug/depend, ext/date/depend: Update dependencies.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:31 AM Revision 393e577d (git): * vm.c: vm_clear_all_cache is not necessary now we use a 64 bit counter
- for global state version.
* vm_insnhelper.h: ruby_vm_global_state_version overflow is unnecessary
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
10/27/2013
-
10:48 PM Revision 910cee22 (git): * vm_backtrace.c (rb_profile_frame_classpath): do not use rb_inspect
- directly, since it might have a custom implementation or show ivars.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:10 PM Bug #8749: Readline.readline stops STDOUT?
- この [ruby-dev:47033] [Bug #8749] と
[ruby-core:57951] [Bug #9040] の件をあわせて修正する変更を入れました。
パッチを出してから 2ヵ月くらい経っていますが反応が無く、
[ruby-core:57951] [Bug #9040] の件も見つかったし、
Ruby 2.1.0 のリリース直前に変更するのもよくないとおもうので。
問題があったら言ってください。
-
09:04 PM Bug #8749 (Closed): Readline.readline stops STDOUT?
- This issue was solved with changeset r43439.
Nobuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/readline/readline.c: Include ruby/thread.h for
rb_thr... -
09:04 PM Bug #9040 (Closed): Readline duplicate file descriptors but doesn't close them
- This issue was solved with changeset r43439.
Eamonn, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/readline/readline.c: Include ruby/thread.h for
rb_threa... -
07:17 PM Revision 5b529e5a (git): * vm_backtrace.c (rb_profile_frame_classpath): handle singleton
- methods defined directly on an object.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:52 PM Revision be16693f (git): * 2013-10-28
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:52 PM Revision ab453f90 (git): struct.c: fix warning message
- * struct.c (new_struct): fix warning message, class name and encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:53 PM Feature #9049: Shorthands (a:b, *) for inclusive indexing
- On Oct 26, 2013, at 1:11 AM, boris_stitnicky (Boris Stitnicky) wrote:
> Sadly, there is no way to overload : in regular Ruby anymore.
I'm not quite ready to give up on it yet, but I won't mention it again unless I can figure out s... -
12:04 PM Revision d5dad140 (git): * ext/readline/readline.c: Include ruby/thread.h for
- rb_thread_call_without_gvl2.
(readline_rl_instream, readline_rl_outstream): Record FILE
structures allocated by this extension.
(getc_body): New function extracted from readline_getc.
(getc_func): New function.
(readline_getc):... -
11:59 AM Bug #8982: NoMethodError#message produces surprising output when #inspect is defined on an anonymous class
- nobu (Nobuyoshi Nakada) wrote:
> myronmarston (Myron Marston) wrote:
> ...
Ruby itself provides many classes whose definition of `inspect` does not include `#`. Why cannot it not allow me to do the same? Also, `#` at the beginning of... -
11:44 AM Bug #8883: Rational canonicalization unexpectedly converts to Fixnum
- Somewhere in all the discussion, the actual bug got lost. This issue shouldn't be closed.
To clarify:
(1) The bug occurs when you do _not_ include mathn, and has nothing to do with mathn.
(2) The bug occurs when you include _not... -
01:38 AM Revision d956453a (git): process.c: Process::Tms
- * process.c (Init_process): rename Struct::Tms as Process::Tms. keep
the former defined for the backward compatibility, for the time
being.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:36 AM Revision 0139a6f0 (git): * 2013-10-27
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:36 AM Revision f8978ba3 (git): envutil.rb: fix disabling gems in assert_separately
- * test/ruby/envutil.rb (assert_separately): fix the position of
--disable=gems option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
10/26/2013
-
10:37 PM Bug #9053: SSL Issue with Ruby 2.0.0
- tisba (Sebastian Cohnen) wrote:
> =begin
> ...
Your certificate chain is incomplete.
Serve "StartCom Class 1 Primary Intermediate Server CA" certificate along with your server certificate. -
11:12 AM Bug #9053 (Assigned): SSL Issue with Ruby 2.0.0
- Ah, I missed that.
Maybe Martin knows, I have assigned the issue to him. -
10:30 AM Bug #9053: SSL Issue with Ruby 2.0.0
- =begin
as per the RVM ticket
rvm osx-ssl-certs update all
was used, I do not think this one is missing certificates, any steps to help debug it?
=end
-
05:59 AM Bug #9053 (Rejected): SSL Issue with Ruby 2.0.0
- You need to install certificates when using non-platform OpenSSL on OS X. Your certificates should be installed here:
ruby -ropenssl -e 'puts OpenSSL::X509::DEFAULT_CERT_FILE'
There are instructions on how to install them for RVM:... -
05:50 PM Bug #9051 (Closed): open-uri meta_add_field method removed
- This issue was solved with changeset r43430.
Eamonn, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/open-uri.rb (meta_add_field): : Re-implemented.
[ruby-... -
05:44 PM Revision d39041ba (git): * lib/rubygems: Update to RubyGems 2.0.13. [ruby-core:58031]
- [Backport #9052]
the patch is provided by drbrain (Eric Hodel).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@43435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:11 PM Feature #9049: Shorthands (a:b, *) for inclusive indexing - On the secon thought, that m » my string « literal is problem-ridden, too.
-
05:11 PM Feature #9049: Shorthands (a:b, *) for inclusive indexing - @mohawkjoh: Tilde is bad, too. From basic ASCII (I looked), everything is taken, except for ^, and ^ should be avoided, because it means power elsewhere. I'd stay with Matlab/Octave's colon, if you can't put up with .. / ... Sadly, there...
-
02:44 PM Feature #9049: Shorthands (a:b, *) for inclusive indexing
- @boris_stitnicky What about ~? x[3~4,1~5], for example. I don't like it as much as colon, but it looks a little more intuitive than %.
-
02:24 PM Feature #9049: Shorthands (a:b, *) for inclusive indexing - @david_macmahon: Technical. Colon is already busy in the basic fabric of the language
( { a: :b }, ternary operator ... ? ... : ...). You'll see what matz will tell you.
Otherwise, I'm not proposing anything, just trying to be useful p... -
01:59 PM Feature #9049: Shorthands (a:b, *) for inclusive indexing
- On Oct 25, 2013, at 8:43 PM, boris_stitnicky (Boris Stitnicky) wrote:
> @david_macmahon, mohawkjohn: Colon is busy, how about harassing % ?
>
> %s/1 1e6 step 12/ # %s would mean series, returning an enumerator
I don't think tha... -
12:43 PM Feature #9049: Shorthands (a:b, *) for inclusive indexing - @david_macmahon, mohawkjohn: Colon is busy, how about harassing % ?
%s/1 1e6 step 12/ # %s would mean series, returning an enumerator
As far as slicing (multidimensional) matrices is involved, I need to already get myself together
... -
10:42 AM Revision ad367a25 (git): * gc.c: catch up recent changes to compile on GC_DEBUG,
- RGENGC_CHECK_MODE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:08 AM Revision 64f2b9f9 (git): range.c: modify check
- * range.c (range_initialize_copy): disallow to modify after
initialized.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:07 AM Revision 2c6518c3 (git): envutil.rb: disable gems in child process
- * test/ruby/envutil.rb (assert_separately): disable gems by default to
get rid of loading test-unit gem, which doesn't have _assertions
method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43432 b2dd03c8-39d4-4d8f-98ff-823fe69b... -
10:07 AM Revision 78d0fdce (git): signal.c: adjust indent
- * signal.c (ruby_atomic_compare_and_swap): adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:49 AM Revision 11efba7e (git): * lib/open-uri.rb (meta_add_field): : Re-implemented.
- [ruby-core:58017] [Bug #9051] patch by Eamonn Webster.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:07 AM Revision b385f19c (git): * gc.c (gc_prof_set_heap_info): fix compile error when
- GC_PROFILE_MORE_DETAIL != 0.
the patch is provided by ko1 (Koichi Sasada).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@43429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:05 AM Bug #9054 (Third Party's Issue): bug error from ruby output
- Based on the call stack, this is a bug of the nfqueue or FFI libraries.
-
03:17 AM Bug #9054 (Third Party's Issue): bug error from ruby output
- I have never submitted an issue before so I am unsure of the proper protocol, but I got this output from the ruby interpreter today.
http://pastebin.com/iL9W6594 <- link to the paste of it. -
06:02 AM Bug #8836: [BUG] Bus Error with bundler on large Gemfile when resolving dependencies
- You ran out of stack space.
bundler uses a recursive algorithm for resolving gems, so if your Gemfile is overly complex this will occur.
Sometimes ruby does not properly detect that it has run out of stack space, so a crash occurs ... -
05:35 AM Revision b848aad5 (git): * gc.c (gc_profile_dump_on): use "Page" terminology.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:31 AM Revision d0391289 (git): * gc.c (gc_sweep, gc_heap_lazy_sweep): fix measurement code.
- We only need one sweep time measurement without lazy sweep.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:04 AM Revision fdf7b458 (git): * addr2line.c: Include ELF header after system headers (especially
- sys/types.h) to avoid compilation failure,
"usr/include/sh3/elf_machdep.h:4:2: error: #error Define _BYTE_ORDER!",
on NetBSD/sh3 (dreamcast, hpcsh, landisk, mmeye).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43426 b2dd03c8-... -
02:46 AM Revision 286d567b (git): * gc.c: tuning parameters.
- * gc.c (GC_MALLOC_LIMIT): change default value to 16MB.
* gc.c (GC_MALLOC_LIMIT_GROWTH_FACTOR): change default value to 2.0.
* gc.c (gc_before_sweep): change decrease ratio of `malloc_limit'
from 1/4 to 1/10.
git-svn-id: svn+ssh://c... -
02:34 AM Revision 6c458aec (git): * gc.c (vm_malloc_increase): do gc_rest_sweep() before GC.
- gc_rest_sweep() can reduce malloc_increase, so try it before GC.
Otherwise, malloc_increase can be less than malloc_limit at
gc_before_sweep(). This means that re-calculation of malloc_limit
may be wrong value.
git-svn-id: svn+s...
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_64 x86_64 GNU/Linux"
on 32bit bug still present - 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-4d8f-98ff-823fe69b080e -
08:06 PM Bug #9051 (Assigned): open-uri meta_add_field method removed
- Sounds reasonable.
How do you think, akr? - 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
-
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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
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:
/Users/basti/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/net/http.rb:918:in `connect': SSL_connect returned=1 errno=0... -
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 seconds (or microseconds) are:
> ...
Just wanted to second this. I came rather close to filing a bug report about, I th... -
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.
-
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+ssh://ci.ruby-lang.org/ruby/trunk@43420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
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://ci.ruby-lang.org/ruby/trunk@43419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
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:m that would cause conflict)
I think that variables should be usable as components of the range (e.g. n:m). See my ... -
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 sure how much weight this reason
> carries (maybe negative? :-))
I also contribute to NMatrix and I can guara... -
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 wish to make a : b an alias of a .. b
> can fit into the language anymore. "x > 0 ? 1 : 2 : 3" could be ambiguously
>... -
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 ?
The problem is that it creates a Range, and Enumerator, and an Array (plus it's textually long). That's two extra objec... -
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, unambiguous, well known.
The tongue-in-cheek answer is that it's better because it's one character shorter. :-) The real ... -
02:21 AM Feature #8956: Allow hash members delimited by \n inside of {}
- bump? This looks helpful.
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 think non-number indexing *should* be allowed — but you make a good point. This wouldn't work if implemented via Hash, b... -
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 indexing be allowed? (e.g. n:m that would cause conflict)
Matz.
-
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, Octave and Python-like but not Ruby-like to my taste.
@david_macmahon What about (1..5).step(2).to_a ? -
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 for { ’ten’: 10 }, I agree it’s discussable if it’s gonna evaluate to a string or a symbol. If it’s a symbol you pretty... -
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 code or in Ruby.
@david_macmahon It'd be nice if it could be done in other functions. In NMatrix, we have both [] and ... -
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 wish to make a : b an alias of a .. b
> can fit into the language anymore. "x > 0 ? 1 : 2 : 3" could be ambiguously
>... -
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 > 0 ? 1 : 2 : 3" could be ambiguously
parsed as "x > 0 ? ( 1 : 2 ) : 3" or as "x > 0 ? 1 : ( 2 : 3 )"...
-
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 }.
But this wish would collide with the wish to make 1:3 mean 1..3.
As for letting asterisk mean :*, what would happe... -
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 would conflict with the {a:b} Hash syntax (especially when passing a Hash as the last argument to a method).
Another ... -
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 rows 1 through 3 inclusive of columns 2 through 4 (also inclusive). The original goal was to be able to do `m[1:3, 2:4]`...
-
10:59 PM Bug #9048: Remove legacy ±(binary) special cases.
- r43413 is backported to ruby_2_0_0 branch at r43415.
-
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.
-
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 Ruby is greatly appreciated.
May Ruby be with you.
----------
* parse.y: Remove +(binary) and -(binary) special cases [Fe... -
11:22 AM Bug #9048 (Assigned): Remove legacy ±(binary) special cases.
- I agree.
Matz.
-
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 :"+(binary)"
The following patch didn't reveal any failure in make test:
diff --git a/parse.y b/parse.y
index 76fc9... -
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`.
-
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(name, values) Note plural!
This breaks code that uses meta_add_field. e.g. HTTPClient.
The fix is to re-implement m... -
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)
【Case1】
■code
require 'socket'
host = "sekai-in-the-box.appspot.com"
port = 80
path = "/iseer.html"
request =...- 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
-
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 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
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/branches/ruby_2_0_0@43416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
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-lang.org/ruby/branches/ruby_2_0_0@43415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
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. [ruby-core:57949] [Bug #9038]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@43414 b2dd03c8-39d4-4d8f-... - 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
-
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.
-
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 maybe).
@jamonholmgren having Symbol GC, it is realistic to have that kind of notation to cope well with JSON. But I a... -
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.
-
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 NMatrix using a 1:3 notation. This can be accomplished with a hash, but only if it will allow numeric (rather than symbolic...
-
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 this syntax :(
~~~ruby
key = 'a'
{key: 1} # will be {:key => 1}, not {'a' => 1}
~~~
Alternatively we could do:
... -
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 description). It would result in symbols looking like this:
{
:'symbol': 'v'
}
Not the end of the world, thoug... -
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' # equivalent to 'string' => 'v'
}
~~~
If your proposal is accepted, then it wouldn't be possible add the short syntax supp... -
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 to the right side in a hash and dropping the hash rocket (=>).
{
:str => "v", # symbol
str: "v", #... -
11:33 AM Feature #9045: URIに含まれるエンコードされたID/パスワードがデコードされない
- >>sorah
> ...
とは言え、サーバ側が良きにはからってくれるpath等と違ってuser/passwordは完全一致でないと許されないので、逆に特別扱いすべき、とも考えられます。
落とし所は以下のどれかでしょうか。
(1) 制約事項をドキュメントに明記し、現行のままいじらない。(下手にいじると #8979 みたいなケースと衝突しそうだし)
(2) URIエンコード/デコードするためのスイッチをインスタンス変数orメソッド引数に組み込む。(新規で使... -
10:23 AM Bug #9040: Readline duplicate file descriptors but doesn't close them
- 2013/10/24 Eric Wong <normalperson@yhbt.net>:
> On a related note: should rb_fd_set/rb_fd_resize call rb_bug on
> negative FD? Otherwise it could OOM/SEGV, I think
It's possible to fail fast.
I'm not sure wihch is suit... -
05:23 AM Bug #9040: Readline duplicate file descriptors but doesn't close them
- "akr (Akira Tanaka)" <akr@fsij.org> wrote:
> Issue #9040 has been updated by akr (Akira Tanaka).
>
> File readline-release-gvl-5.patch added
>
> normalperson (Eric Wong) wrote:
> >
> > Btw, on a separate note, it woul... -
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 greatly appreciated.
May Ruby be with you.
----------
* gc.c: add new initial_growth_max tuning parameter. [ruby-core:... -
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 constant name
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
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-98ff-823fe69b080e -
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 -
02:23 AM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
- Tanaka Akira <akr@fsij.org> wrote:
> 2013/10/8 headius (Charles Nutter) <headius@headius.com>:
> > Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
> > https://bugs.ruby-lang.org/issues/8992
>
> D... -
02:23 AM Feature #8998: string keys for hash literals should use fstrings
- Eric Wong <normalperson@yhbt.net> wrote:
> So my proposed patch should be safe to apply, but it's only a partial
> implementation of the idea for this feature.
While that's true, I haven't been able to measure performance
imp... -
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 greatly appreciated.
May Ruby be with you.
----------
Makefile.sub: C99 mathematics functions
* win32/Makefile.sub (... -
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 Ruby is greatly appreciated.
May Ruby be with you.
----------
* array.c: Add Array#to_h [Feature #7292]
* enum.c: Add En...
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 bug.
#define INFINITY rb_infinity
should be
#define INFINITY rb_infinity()
After applying revision 43398 and the ... -
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 979e73b..5d04e9c 100644
--- a/include/ruby/win32.h
+++ b/include/ruby/win32.h
@@ -355,6 +355,20 @@ extern FILE *rb_w3... -
10:52 PM Bug #9044 (Assigned): Too many warnings with VC 2013
- "by design"!?
-
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 greatly appreciated.
May Ruby be with you.
----------
Makefile.sub: C99 mathematics functions
* win32/Makefile.sub (... -
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 */
#endif /* _HUGE_ENUF */
#define INFINITY ((float)(_HUGE_ENUF * _HUGE_ENUF)) /* causes warning C4756: overflow in ... -
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? -
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.com/en-US/library/hh409293.aspx
http://blogs.msdn.com/b/vcblog/archive/2013/07/19/c99-library-support-in-visual-studio-2... -
03:39 PM Bug #9044: Too many warnings with VC 2013
- Those mathematics functions and a constant have been added?
-
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 and overflow in constant arithmetic.
Here is a part of warnings.
C:\work\ruby-2.1.0-r43392\include\ruby/missing.h(73... -
10:53 PM Feature #9045: URIに含まれるエンコードされたID/パスワードがデコードされない
- At Wed, 23 Oct 2013 19:19:45 +0900,
sorah (Shota Fukumori) wrote:
> 他のメソッドもデコードしてくれる訳じゃないですしuser/passだけ特別扱いというのはどうも。
>
> >> URI.parse('http://example.com/%2F').path
> => "/%2F"
URI::Component というクラスを作っている者です。
http... -
07:19 PM Feature #9045 (Assigned): URIに含まれるエンコードされたID/パスワードがデコードされない
- 他のメソッドもデコードしてくれる訳じゃないですしuser/passだけ特別扱いというのはどうも。
>> URI.parse('http://example.com/%2F').path
=> "/%2F"
-
05:29 PM Feature #9045: URIに含まれるエンコードされたID/パスワードがデコードされない
- 追記。
#8979 のそもそもの原因はこれだと思うのですが、あっちは rubygems の方直してるんですね……。
(こちらもgemが通らなくて調べてたのですが)
利用側でデコードするのと、提供側でデコードするのと、どちらが適切なんでしょう? -
03:37 PM Feature #9045 (Closed): URIに含まれるエンコードされたID/パスワードがデコードされない
- URI(プロキシ設定も含む)にID/パスワードを含めるとき、IDやパスワードに「@」や「:」等がある場合はURIエンコードする必要がありますが、uriライブラリがこれをデコードしてくれません。
そのため、認証プロキシでIDに「@」が含まれていると認証に失敗するなどの問題が生じます。
ソースを追っかけて uri/generic.rb の問題だろうというところまでは調べたのですが、user/passwordを取り扱う部分がたくさんあるので、何処でエンコード/デコード... -
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
-
09:23 PM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
- 2013/10/8 headius (Charles Nutter) <headius@headius.com>:
> Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
> https://bugs.ruby-lang.org/issues/8992
Does anyone measure actual performance benefit?
... -
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.
-
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 semantics of an existing method (#freeze optimization).
I don't get this argument. Optimized String#freeze doesn't real... -
06:17 PM Bug #9040: Readline duplicate file descriptors but doesn't close them
- normalperson (Eric Wong) wrote:
>
> ...
I think avoiding accidental fclose() is not the responsibility of readline_getc().
It is because readline_getc() cannot determine the FILE structure is closed or not.
So the only appropriate ... -
01:29 AM Bug #9040: Readline duplicate file descriptors but doesn't close them
- "akr (Akira Tanaka)" <akr@fsij.org> wrote:
> Issue #9040 has been updated by akr (Akira Tanaka).
>
> File readline-release-gvl-4.patch added
Fewer ifdefs, so good :> (haven't tested)
Btw, on a separate note, it would b... -
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 commented some implementation points to the pull request. -
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.
-
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] [Bug #9044]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
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_LOG2.
[ruby-core:57992] [Bug #9044]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43407 b2dd03c8-39d4-4d8f-98ff-823... -
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
- 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://ci.ruby-lang.org/ruby/trunk@43405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 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://ci.ruby-lang.org/ruby/trunk@43404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 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://ci.ruby-lang.org/ruby/trunk@43403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 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-823fe69b080e - 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
-
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.ruby-lang.org/ruby/trunk@43399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
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-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
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 fix a potential bug.
-
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 means slow down page freeing speed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43397 b2dd03c8-39d4-4d8f-98ff-82... -
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 -
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 eden heap) at sweeping
helps freeing pages more efficiently.
Before this patch, even if there is an empty page at forme... -
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-98ff-823fe69b080e -
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 backwards compatible, but in reality it means every bit of code that wants to use this optimization needs to monkey patc...
-
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 dependency of Rails and pretty widely deployed as a result. I am not opposed to testing this more in the wild before inco... -
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
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.
(1) Try gem first
Basically, libraries written in Ruby can be provided by a gem easilly.
We can prove the usefulness ... -
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.
-
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 and uploaded(scp) by me and the issues are initially handled at rvm bug tracker, I forward them here when needed.
There... -
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. How to escalate package issue? -
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 this optimization harder, since we don't necessarily want to add #f at a global level.
-
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 lean toward making #f be the only magic form, so nobody can complain that we're adding incompatible syntax ("f" suffix) o... -
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 "literal".freeze optimization (#8992). I think it would be reasonable to add String#f as a shorter method for producing a froz...
-
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 way the VM could simply optimize #freeze called on a literal string in the same way. If #8992 is accepted, the backward-i...
-
07:47 PM Bug #9040: Readline duplicate file descriptors but doesn't close them
- normalperson (Eric Wong) wrote:
>
> ...
I see. I updated the patch.
-
06:59 AM Bug #9040: Readline duplicate file descriptors but doesn't close them
- "akr (Akira Tanaka)" <akr@fsij.org> wrote:
>
> Issue #9040 has been updated by akr (Akira Tanaka).
>
> File readline-release-gvl-3.patch added
Does poll work reliably with tty FD on non-Linux systems?
Perhaps better ... -
06:05 PM Bug #9002: Use simpler example for File#expand_path
- Thanks Benoit :)
-
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 Ruby is greatly appreciated.
May Ruby be with you.
----------
* file.c (File#expand_path): [DOC] improve documentation of... -
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 use something more neutral. I will commit your patch with a couple changes.
Dir.pwd is also subject to change, so a stati... -
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 greatly appreciated.
May Ruby be with you.
----------
dir.c: DOTMATCH to current directory
* dir.c (glob_helper): do... - 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
-
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
-
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-39d4-4d8f-98ff-823fe69b080e -
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 to be preferred in other
computer langugages.
@shevegen: As you probably know, ActiveSupport provides those aliases:... -
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 -
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 object space.
* Functions heap_* and rb_heap_t manages heap data structure.
* Functions heap_page_* and struct heap_pag... -
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 ko1 via IRC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
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/trunk@43386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
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-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
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
-
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
with multi-threading. This patch solve this issue.
* vm_trace.c (rb_postponed_job_register_one): set
RUBY_VM_SET_POSTPO... -
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 variable to limit their overall RSS. Since the limit only affects the ruby heap, the impact on overall RSS is quite minimal. Fo...
-
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://ci.ruby-lang.org/ruby/trunk@43382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
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 supported.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e