Activity
From 09/04/2013 to 09/10/2013
09/10/2013
-
11:53 PM Feature #8887: min(n), max(n), min_by(n), max_by(n)
- 2013/9/10 Hanmac (Hans Mackowiak) <[email protected]>:
> Issue #8887 has been updated by Hanmac (Hans Mackowiak).
> hm i am curios in what order max(n) and max_by(n) should return the elements?
>
> like [6, 0, 3, 3, 8, 3, 5, 0, 6... -
11:03 PM Feature #8887: min(n), max(n), min_by(n), max_by(n)
- hm i am curios in what order `max(n)` and `max_by(n)` should return the elements?
like `[6, 0, 3, 3, 8, 3, 5, 0, 6].max(4)`:
should it return `sort.last(n) #> [5, 6, 6, 8]`
or is that better? `[8, 6, 6, 5]` because 8 is bigger than ... -
10:28 PM Feature #8887 (Closed): min(n), max(n), min_by(n), max_by(n)
- How about adding an optional argument, n, for Enumerable#{min,max,min_by,max_by} to
return minimum/maximum n elements as an array.
Example:
* [6, 0, 3, 3, 8, 3, 5, 0, 6].min(4) #=> [0, 0, 3, 3]
* [6, 0, 3, 3, 8, 3, 5, 0, 6].max(4) ... - 11:21 PM Revision 3914cedd (git): * 2013-09-11
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:21 PM Revision 90425153 (git): * thread.c (rb_mutex_unlock): Mutex#unlock no longer raise
- an exception even if uses on trap. [Bug #8891]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:40 PM Bug #8864: sprintf segfaults with too high precision
- I'm trying to write a patch for this (my first contribution actually), and I'll really appreciate some help.
I've found the cause -- the buffer sent to `cvt()` function in vsnprintf.c is allocated on the stack with a fixed size of `#d... -
08:03 PM Bug #8886 (Closed): TracePoint API inconsistence when raise used
- =begin
When `raise` command is used, the TracePoint API triggers the following events in the following order
1. RUBY_EVENT_C_CALL to the `raise` method
2. RUBY_EVENT_RAISE
3. RUBY_EVENT_C_RETURN
But what ruby actuall... -
07:39 PM Bug #8885 (Rejected): Incorrect time is created for time including leap seconds
-
05:55 PM Bug #8885: Incorrect time is created for time including leap seconds
- The Ruby version is ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux]. I didn't have the timezone set to one that supports leap second. Once I attached "right/", it worked. Thank you for the help. I would like to withdraw this is...
-
05:23 PM Bug #8885: Incorrect time is created for time including leap seconds
- 2013/9/10 sawa (Tsuyoshi Sawada) <[email protected]>:
> Bug #8885: Incorrect time is created for time including leap seconds
> https://bugs.ruby-lang.org/issues/8885
> ruby -v: 2.0
> `Time.new` creates incorrect tim... -
04:59 PM Bug #8885: Incorrect time is created for time including leap seconds
- =begin
Which is your timezone? I guess it works correctly.
RUBY_DESCRIPTION # => "ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux]"
ENV["TZ"] = "UTC"
Time.new(2012, 6, 30, 23, 59, 60) # => 2012-07-01 00:00:00 +0000
EN... -
04:13 PM Bug #8885 (Rejected): Incorrect time is created for time including leap seconds
- =begin
`Time.new` creates incorrect time when the time includes a leap second.
Time.new(2012, 6, 30, 23, 59, 60)
# => 2012-07-01 00:00:00 +0900 # Wrong. Should be 2012-06-30 23:59:60 +0900
Time.new(2012, 6, 30, 23, 59... -
07:32 PM
Bug #8538 (Closed): c method not pushed into the callstack when called, but popped when returned
-
07:19 PM Bug #8538: c method not pushed into the callstack when called, but popped when returned
- =begin
Hi, I've been investigating this issue and I was misunderstanding it. The order of events is
1. Trigger C_CALL_EVENT
2. Push frame into the stack
3. Pop frame from the stack
4. Trigger C_RETURN_EVENT
That... -
01:56 PM Bug #8883 (Rejected): Rational canonicalization unexpectedly converts to Fixnum
- Requiring only 'mathn/rational' causes this behavior.
It's a bug to use 'mathn/rational' solely. -
01:38 PM Bug #8883: Rational canonicalization unexpectedly converts to Fixnum
- =begin
Rather, it seems caused by ((%mathn%)).
$ ~/ruby/1.9.3/bin/ruby -e 'p Rational(2)*Rational(1,2)'
(1/1)
$ ~/ruby/1.9.3/bin/ruby -rmathn -e 'p Rational(2)*Rational(1,2)'
1
$ ~/ruby/2.0.0/bin/ruby -e 'p Rational(2)*Rational(1,... -
10:12 AM Bug #8883: Rational canonicalization unexpectedly converts to Fixnum
- =begin
I can't reproduce this in any version of Ruby that I have installed. What is your Ruby 2.0 patch level?
$ ruby2.0 -ve 'p Rational(2), Rational(3), Rational(2)/Rational(3)'
ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-lin... -
08:41 AM Bug #8883 (Closed): Rational canonicalization unexpectedly converts to Fixnum
- The documentation for Rational (http://www.ruby-doc.org/core-2.0.0/Rational.html) states that the result of creating or doing arithmetic on Rationals returns Rationals, as one would expect. Examples from the docs:
Rational(1) ... -
10:53 AM Bug #8875: Select is not usable with SSLSocket
- 2013/9/8 headius (Charles Nutter) <[email protected]>:
> I would agree, except that users are shown, through examples online and in source, that SSLSocket is "IO-like" and can be used anywhere an IO can be used. IO can do buffere... -
08:26 AM Feature #8691: Add warning for variable that is re-assigned but not re-used
- A third party tool that I use, called Rubocop, has implemented such functionality. https://github.com/bbatsov/rubocop/issues/458
So I don't really require this functionality in MRI any more. -
05:37 AM Revision 5b46f6c6 (git): * vm_backtrace.c (vm_backtrace_to_ary): Ignore the second argument if
- it is nil. [Bug #8884] [ruby-core:57094]
* test/ruby/test_backtrace.rb (test_caller_with_nil_length):
Test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:05 AM Revision 9c060a59 (git): rational.c: conditionally defined variable
- * rational.c (numeric_quo): variable 'canonicalization' is defined
conditionally by CANON (and CANONICALIZATION_FOR_MATHN).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:39 AM Revision 67129c83 (git): class.c: exclude refined methods
- * class.c (method_entry_i): should exclude refined methods from
instance method list. [ruby-core:57080] [Bug #8881]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:39 AM Revision 9d9dfc21 (git): vm_method.c: constify
- * vm_method.c (rb_resolve_refined_method): constify.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:06 AM Revision dc4b0b41 (git): * io.c (rb_f_printf): [DOC] add missing parenthesis in rdoc.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:09 AM Revision bd63aca6 (git): NEWS: Update RubyGems note.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:52 AM Revision 59b5b084 (git): * 2013-09-10
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:52 AM Revision f06f9032 (git): * lib/rubygems: Update to RubyGems 2.1.0. Fixes CVE-2013-4287.
- See http://rubygems.rubyforge.org/rubygems-update/CVE-2013-4287_txt.html
for CVE information.
See http://rubygems.rubyforge.org/rubygems-update/History_txt.html#label-2.1.0+%2F+2013-09-09
for release notes.
* test/rubygems: Test... -
12:29 AM Feature #8882 (Rejected): rb_obj_is_mutex() into include/ruby/intern.h
- rb_obj_is_mutex() is currently an internal API function.
However, this function is useful for C extension developers to distinguish between Mutex and other objects extended by Mutex_m.
I want to use it in ext/thread/thread.c for this p...
09/09/2013
-
08:30 PM Feature #8572: Fiber should be a Enumerable
- > Why you don't use Enumerator?
Ah, make sense. -
05:53 PM Feature #8572: Fiber should be a Enumerable
- Why you don't use Enumerator?
~~~ruby
class TS
attr_accessor :screen_name, :text
def initialize
@screen_name = "foo"
@text = "sample"
end
end
f = Enumerator.new {|g|
# getting twitter status
lo... -
05:31 PM Feature #8572: Fiber should be a Enumerable
- +1
Matz.
-
05:29 PM Feature #8572: Fiber should be a Enumerable
- I think most of use case of using `Fiber` is something like getting stream data or catching-up draining entities. Maybe we won't use `Fiber` for getting limited resources. For example, If `Fiber` has `each`, I guess that we will be possi...
-
04:56 PM Bug #8880 (Closed): Refinements bug in ruby 2.1.0dev (2013-09-08) [x86_64-linux]
- This issue was solved with changeset r42896.
Daniel, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
vm_method.c: clear cache after refine method
* vm_method.c (rb... -
01:14 PM Bug #8880: Refinements bug in ruby 2.1.0dev (2013-09-08) [x86_64-linux]
- #8722 is irrelevant, and it occurs regardless of eval.
Seems refined method definition doesn't increase seq in the class. -
10:13 AM
Bug #8880 (Closed): Refinements bug in ruby 2.1.0dev (2013-09-08) [x86_64-linux]
- Hi,
I found a bug in the refinements implementation of Ruby 2.1.0. It is related to https://bugs.ruby-lang.org/issues/8722. On ruby 2.0.0p0 (2013-02-24 revision 39474) this does not occur.
The VM segfaults when the attached code is... -
04:23 PM Feature #8846: Publicize Module#include
- Hello Marc-Andre,
On 2013/09/01 4:20, marcandre (Marc-Andre Lafortune) wrote:
>
> Issue #8846 has been updated by marcandre (Marc-Andre Lafortune).
>
>
> Great :-)
>
> Taking Rails as an example, I find that the next ... -
02:22 PM Bug #8852: Synology build of ruby-2.0.0-p247 is failing
- I'm running arch 88f6281 so the toolchain includes GCC 4.2.1. If you're stuck, just give spksrc a shot to check the Ruby configure.log etc.
-
08:21 AM Bug #8852: Synology build of ruby-2.0.0-p247 is failing
- Would you mind telling me which gcc you're using?
-
07:57 AM Bug #8852: Synology build of ruby-2.0.0-p247 is failing
- Well, the detection of atomic operations is working fine with Synology toolchain for me. I guess you should be able to override atomic builtins in configure.
-
12:33 PM Revision 888e5cbb (git): * process.c: Remove spaces between SI prefix and unit to follow
- SI brochure.
http://www.bipm.org/en/si/si_brochure/
https://www.nmij.jp/library/units/si/
* time.c: Ditto.
* ext/socket/ancdata.c: Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:56 AM Revision a71ee2ce (git): vm_method.c: clear cache after refine method
- * vm_method.c (rb_add_refined_method_entry): clear cache in the
refined class since refining a method entry is modifying the class.
[ruby-core:57079] [Bug #8880]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42896 b2dd03c8-39d4-... -
05:47 AM Revision d968e9ec (git): complex.c: fix typo
- * complex.c (nucomp_real_check): fix a variable name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:17 AM Revision f3c33344 (git): vm_insnhelper.c: debugging
- * vm_insnhelper.c (vm_method_cfunc_entry): check method type if
debugging.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:17 AM Revision c2b4d381 (git): eval.c, vm_insnhelper.c: adjust style
- * eval.c (rb_refinement_module_get_refined_class): adjust style.
* vm_insnhelper.c (vm_profile_show_result): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:17 AM Revision 2b5c2ebf (git): complex.c, rational.c: use RB_TYPE_P
- * complex.c, rational.c: use RB_TYPE_P() for special classes instead
of switch with TYPE().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:40 AM Bug #8875 (Assigned): Select is not usable with SSLSocket
- 12:15 AM Revision 8a1f04bb (git): * 2013-09-09
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:15 AM Revision 55291545 (git): rbinstall.rb: add date
- * tool/rbinstall.rb (Gem::Specification#initialize): default date to
RUBY_RELEASE_DATE. [ruby-core:57072] [Bug #8878]
* tool/rbinstall.rb (Gem::Specification#to_ruby): add date.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42890...
09/08/2013
-
11:14 PM Bug #8875: Select is not usable with SSLSocket
- akr (Akira Tanaka) wrote:
> 2013/9/8 headius (Charles Nutter) <[email protected]>:
> ...
I would agree, except that users are shown, through examples online and in source, that SSLSocket is "IO-like" and can be used anywhere an IO ca... -
07:03 AM Bug #8875: Select is not usable with SSLSocket
- 2013/9/8 headius (Charles Nutter) <[email protected]>:
> In JRuby, my first fix was to make IO.select aware of SSLSocket's native buffers by adding a method to query if SSLSocket had buffered data itself. This adds the socket to th... -
05:23 AM Bug #8875: Select is not usable with SSLSocket
- "headius (Charles Nutter)" <[email protected]> wrote:
> However, the buffering issue is harder to fix. I believe buffering.rb
> needs to go away entirely, or at least needs to not buffer data on its
> own.
I think so, too. ... -
03:02 AM Bug #8875: Select is not usable with SSLSocket
- See also recent comments on http://jira.codehaus.org/browse/JRUBY-6874
-
02:57 AM Bug #8875: Select is not usable with SSLSocket
- I have been experimenting with some fixes for this.
In JRuby, my first fix was to make IO.select aware of SSLSocket's native buffers by adding a method to query if SSLSocket had buffered data itself. This adds the socket to the list o... -
02:17 AM Bug #8875 (Rejected): Select is not usable with SSLSocket
- Because of the various levels of buffering SSLSocket employs, it is not possible to reliably use IO.select to check when it has data available.
SSLSocket wraps a normal IO that it uses for reading and writing unencrypted data. This IO... -
09:37 PM Bug #8877 (Closed): OptionParser::Version should not rely on SVN
- This issue was solved with changeset r42889.
Hiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
optparse.rb: remove $Id$
* lib/optparse.rb (OptionParser): remov... -
12:26 PM Bug #8877 (Closed): OptionParser::Version should not rely on SVN
- =begin
Currently, (({OptionParser::Version})) is ((<defined|URL:https://github.com/ruby/ruby/blob/2b44bbf/lib/optparse.rb#L215-L216>)) by:
RCSID = %w$Id$[1..-1].each {|s| s.freeze}.freeze
Version = (RCSID[1].split('.').collect {... -
12:37 PM Revision d1f2021b (git): optparse.rb: remove $Id$
- * lib/optparse.rb (OptionParser): remove constants depending on $Id$.
[Bug #8877]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:52 AM Revision 3fa0edda (git): rat.c: suppress warning
- * ext/-test-/rational/rat.c (big): used only if GMP is available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:23 AM Bug #8876: bundle exec rake spec
- If I remove "awesome_print" gem I got
/Users/franco/.rvm/rubies/ruby-1.9.3-p448/bin/ruby -S rspec ./spec/features/home_page_spec.rb ./spec/features/sign_in_spec.rb ./spec/features/timeline_spec.rb
/Users/franco/.rvm/gems/ruby-1.9.3-p... -
09:23 AM Bug #8876: bundle exec rake spec
- If I remove "awesome_print" gem I got
/Users/franco/.rvm/rubies/ruby-1.9.3-p448/bin/ruby -S rspec ./spec/features/home_page_spec.rb ./spec/features/sign_in_spec.rb ./spec/features/timeline_spec.rb
/Users/franco/.rvm/gems/ruby-1.9.3-p... -
09:15 AM Bug #8876 (Rejected): bundle exec rake spec
- I got the following when run "bundle exec rake spec". The same happens with ruby-1.9.3-p0
/Users/franco/.rvm/rubies/ruby-1.9.3-p448/bin/ruby -S rspec ./spec/features/home_page_spec.rb ./spec/features/sign_in_spec.rb ./spec/features/... -
07:54 AM Bug #8852: Synology build of ruby-2.0.0-p247 is failing
- Okay, I fiddled with the 'configure' file so that stack_protector came out broken. It quieted those entries but then died on our old friend
__sync_val_compare_and_swap_4
... suggestions? -
03:06 AM Bug #8852: Synology build of ruby-2.0.0-p247 is failing
- Sorry, I am a Ruby newb, using RVM to handle the build details. I should do what, where?
-
07:02 AM Revision 8953eee6 (git): * rational.c (f_gcd): Relax the condition to use GMP.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:06 AM Revision 04976ab6 (git): * ext/win32ole/win32ole.c (folevariant_initialize): check type of
- element of array.
* test/win32ole/test_win32ole_variant.rb (test_s_new_ary): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:39 AM Revision f41a2574 (git): Updated.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:54 AM Revision c95d5b25 (git): common.mk, win32/Makefile.sub: refix sizez.c for nmake
- * common.mk (sizes.c): revert r42854 and r42883.
* win32/Makefile.sub (sizes.c): rule for outplace build.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:00 AM Bug #8867: Mailing lists' controller addresses not working
- I see :) I hope you do not mind me elaborating further:
At the bottom of e.g. http://blade.nagaokaut.ac.jp/ruby/ruby-talk/index.shtml, the
* "Help for this mailing list",
* "Mail to Mailing List's Controller", and
* "Join... -
02:09 AM Bug #8867: Mailing lists' controller addresses not working
- Sorry, by 'blade' i mean http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/
-
02:14 AM Bug #8874 (Closed): libruby.so.2.0 variable.c segmentation faults in production with rails (ruby-2.0.0-p247)
- Recently upgraded rails application from ruby-2.0.0-p195 to ruby-2.0.0-p247 and seeing frequent segmentation faults now when rails action-4.0.0 calls the inspect method which loops through all the variables.
/var/www/pointshound/share...
09/07/2013
-
11:01 PM Bug #8854: Update URL for bug reports
- Snapshots in http://web.archive.org/web/*/http://www.ruby-lang.org/bugreport.html
redirect to http://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport before jekyll.
-
05:08 PM Bug #8854: Update URL for bug reports
- @naruse, @zzak
I propose to (again) change error.c to match r42802 (i.e. using 'bugs.ruby-lang.org'). -
10:03 PM Revision 2b44bbf6 (git): common.mk: in-place build
- * common.mk (sizes.c): try to fix for in-place build.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:52 PM Revision 2a9cefd5 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:48 PM Revision e5d327f4 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:08 PM Revision 52fe68a7 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:04 PM Revision 6bca9dc3 (git): thread.c: invert
- * ext/thread/thread.c (queue_pop_should_block): the first argument of
Queue#pop is non_block and inverted for should_block.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:04 PM Revision 398c3cab (git): thread.c: function cast
- * ext/thread/thread.c (queue_sleep): get rid of casting function
pointer.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:04 PM Revision 9b6ee42d (git): numeric.c: use positive_int_p
- * numeric.c (NUM_STEP_SCAN_ARGS): use positive_int_p() to fix rubyspec
failures.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:04 PM Revision ba6c7348 (git): numeric.c: no extra checks
- * numeric.c (NUM_STEP_SCAN_ARGS): remove extra class checks, which
cause the incompatibilities.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 07:04 PM Revision 622a2af0 (git): * 2013-09-08
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:04 PM Revision e1460152 (git): bignum.c, math.c: RB_BIGNUM_TYPE_P
- * bignum.c, math.c (RB_BIGNUM_TYPE_P): predicate macro like
RB_FLOAT_TYPE_P.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:04 PM Revision c26293dc (git): bignum.c, math.c: type predicates
- * bignum.c, math.c: use type predicate macros instead of TYPE().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:04 PM Revision a77ae1ec (git): bignum.c: split rb_big_fdiv and big_fdiv
- * bignum.c (rb_big_fdiv): split with big_fdiv by divider type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:59 PM Bug #8867: Mailing lists' controller addresses not working
- > The website should be updated, though
I updated the crucial information on
http://www.ruby-lang.org/en/community/mailing-lists/manual-instructions/
However, I do not have the time to do a more thorough rewrite right now
(this p... -
01:38 PM Feature #8657: Make Find.find respect the encodings of arguments
- =begin
[[ruby:DevelopersMeeting20130831Japan]]でacceptされたのでコミットしました。
=end
-
01:34 PM Feature #8657 (Closed): Make Find.find respect the encodings of arguments
- This issue was solved with changeset r42866.
Kazuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/find.rb (Find.find): respect the encodings of arguments.
... -
12:34 PM Revision 0e02d923 (git): * math.c (math_log): Test the sign for bignums.
- (math_log2): Ditto.
(math_log10): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:26 AM Revision 08e3cb69 (git): * math.c (math_log): Support bignums bigger than 2**1024.
- (math_log2): Ditto.
(math_log10): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:41 AM Feature #8871 (Closed): Server side TCP fast open
- This issue was solved with changeset r42865.
Masaki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/socket/mkconstants.rb (TCP_FASTOPEN): Defined for TCP fas... -
05:23 AM Feature #8871: Server side TCP fast open
- "Glass_saga (Masaki Matsushita)" <[email protected]> wrote:
> https://bugs.ruby-lang.org/issues/8871
> I propose that ruby support server side TCP fast open (TFO).
> TCP fast open reduces step of the handshake process.
... -
01:05 AM Feature #8871 (Closed): Server side TCP fast open
- I propose that ruby support server side TCP fast open (TFO).
TCP fast open reduces step of the handshake process.
detailed information about TCP fast open: http://lwn.net/Articles/508865/
# example
## server side
require "so... - 06:44 AM Revision 66915c50 (git): * vm_eval.c (vm_call0): fix prototype, the id parameter should be of
- type ID, not VALUE
* vm_insnhelper.c (check_match): the rb_funcall family of functions
does not care about refinements. We need to use
rb_method_entry_with_refinements instead to call === with
refinements. Thanks to Jon Conley for... -
04:58 AM Revision c65e9bbf (git): * doc/security.rdoc: [DOC] fix typo.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:58 AM Revision 113b1c76 (git): * variable.c (classname): the name of class that has
- non class id should not be nil. This bug was introduced
in r36577.
* test/thread/test_cv.rb: test for change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:34 AM Revision 0a4801e7 (git): * lib/find.rb (Find.find): respect the encodings of arguments.
- [ruby-dev:47530] [Feature #8657]
* test/test_find.rb: add tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:02 AM Bug #8870: Method-Missing breaking irb
- Array#flatten tries to call #to_ary method on non-Array arguments, but the result of `m.to_s' doesn't have it, so the method_missing is called, and continues infinitely.
In short, do not redefine global method_missing method.
-
01:41 AM Revision dd946739 (git): * ext/socket/mkconstants.rb (TCP_FASTOPEN): Defined for TCP fast open.
- [ruby-core:57048] [Feature #8871] patch by Masaki Matsushita.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:15 AM
Feature #3620 (Closed): Add Queue, SIzedQueue and ConditionVariable implementations in C in addition to ruby ones
- This issue was solved with changeset r42862.
Ricardo, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* common.mk: use RUNRUBY instead of MINIRUBY because MINIRUBY ...
09/06/2013
-
10:05 PM Bug #8870 (Closed): Method-Missing breaking irb
- 2.0.0p247 :001 > def method_missing m,*args; [m.to_s,args].flatten.join " "; end
=> nil
2.0.0p247 :002 > "j".happy "hh"
2.0.0p247 :001 > def method_missing *args; args.join " "; end
=> nil
2.0.0p247 :002 > "j".happy
SystemStac... -
06:08 PM Revision 503ba49b (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:15 PM Revision b3f4c545 (git): * 2013-09-07
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:15 PM Revision e334bb2c (git): * common.mk: use RUNRUBY instead of MINIRUBY because MINIRUBY can't
- require extension libraries. The patch is from nobu
(Nobuyoshi Nakada).
* ext/thread/extconf.rb: for build ext/thread/thread.c.
* include/ruby/intern.h: ditto.
* thread.c: ditto.
* lib/thread.rb: removed and replaced by ext/thread/... -
02:23 PM Bug #8869 (Closed): Error on TestProcess#test_clock_getres
- This issue was solved with changeset r42855.
Koichi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
win32.c: clock_getres
* win32/win32.c (clock_getres): required... -
11:26 AM Bug #8869 (Closed): Error on TestProcess#test_clock_getres
- mswin32 において、下記のようなエラーが出ております。
1) Error:
TestProcess#test_clock_getres:
Errno::EINVAL: Invalid argument
C:/ko1/src/ruby/trunk/test/ruby/test_process.rb:1743:in `clock_getres'
C:/ko1/src/ruby/trunk/test/ruby/test_process.... -
01:49 PM Revision f43d9e22 (git): * configure.in: Define ac_cv_func_clock_getres to yes for mingw*.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:05 PM Revision 4de7dcf8 (git): updated.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:07 PM Revision 5269a3fb (git): Add a property.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:07 PM Revision 42a3e0dc (git): * rational.c: Include gmp.h if GMP is used.
- (GMP_GCD_DIGITS): New macro.
(rb_gcd_gmp): New function.
(f_gcd_normal): Renamed from f_gcd.
(rb_gcd_normal): New function.
(f_gcd): Invoke rb_gcd_gmp or f_gcd_normal.
* internal.h (rb_gcd_normal): Declared.
(rb_gcd_gmp): Ditt... -
09:17 AM Revision 5aadc9d4 (git): remove unexpected references
- Fixes GH-nnn does not reference github.com/tenderlove/psych/issues/nnn
but github.com/ruby/ruby/pull/nnn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:25 AM Bug #8868 (Closed): Error installing 1.9.3p448 on AIX 7.1
- test_thread.rb ...........................F.....................
#928 test_thread.rb:266:in `<top (required)>':
(0..10).map {
Thread.new {
10000.times {
Object.new.to_s
}
}
}.ea... -
07:03 AM Bug #8867: Mailing lists' controller addresses not working
- The website should be updated, though: blade still reports that it's ctl.
-
01:10 AM Bug #8867: Mailing lists' controller addresses not working
- This can be closed.
Apparently the mailing list software was changed, the new "controller" addresses are [email protected], etc. -
12:05 AM Bug #8867 (Closed): Mailing lists' controller addresses not working
- This probably isn't the right place to report this, but I do not know a better one...
The controller addresses for the various mailing lists do not seem to work anymore:
[email protected], [email protected], ...
... -
05:36 AM Revision 59baeaf1 (git): win32.c: clock_getres
- * win32/win32.c (clock_getres): remove unused variable.
[ruby-dev:47699] [Bug #8869]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:23 AM Revision f245f0c6 (git): win32.c: clock_getres
- * win32/win32.c (clock_getres): required as well as clock_gettime().
[ruby-dev:47699] [Bug #8869]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:23 AM Revision 64455007 (git): common.mk: sizes.c for nmake
- * common.mk (sizes.c): needs VPATH to outplace build with nmake.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:29 AM Bug #8852: Synology build of ruby-2.0.0-p247 is failing
- moneytoo (Marcel Dopita) wrote:
> It cross compiles fine with following patch https://github.com/SynoCommunity/spksrc/blob/fad915904222094328425c2855f4fa193731ba84/cross/ruby/patches/fix-thread-stack.patch from from SynoCommunity.
> ..... -
02:45 AM Revision 7ce11f57 (git): transcode.c: add rb_econv_append
- * transcode.c (rb_econv_append): new function to append a string data
with converting its encoding. split from rb_econv_substr_append.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:29 AM Revision a3a7645f (git): transcode.c: do while loop
- * transcode.c (rb_econv_substr_append): move loop condition after the
conversion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:29 AM Revision a4eae615 (git): transcode.c: GC guard
- * transcode.c (rb_econv_substr_append): prevent src from GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:18 AM Feature #7292: Enumerable#to_h
- I vote for raising an exception when trying to convert an invalid array to hash (considering the common case the valid array format).
09/05/2013
-
09:59 PM Feature #3620: Add Queue, SIzedQueue and ConditionVariable implementations in C in addition to ruby ones
- (2013/09/05 20:52), Glass_saga (Masaki Matsushita) wrote:
> I fixed a bug in ext/thread.c ([ruby-core:56861]).
> It was not compatible with Objects extended by Mutex_m and test/test_mutex_m.rb failed.
> Moreover, I use rb_thread_s... -
08:52 PM Feature #3620: Add Queue, SIzedQueue and ConditionVariable implementations in C in addition to ruby ones
- Sorry for my late response.
I fixed a bug in ext/thread.c ([ruby-core:56861]).
It was not compatible with Objects extended by Mutex_m and test/test_mutex_m.rb failed.
Moreover, I use rb_thread_sleep_deadly() to make it get along with ... -
09:41 PM Bug #8861 (Third Party's Issue): segmentation fault with ruby-ldap
- It is a ruby-ldap issue not Ruby itself. Please report it to ruby-ldap: https://github.com/alexey-chebotar/ruby-ldap
-
06:07 PM
Bug #8866 (Closed): frozen string literal("foo"f ) can ignore source encoding after r42843.
- This issue was solved with changeset r42847.
Tomoyuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* string.c (fstring_cmp): take string encoding into account w... -
05:49 PM Bug #8866 (Closed): frozen string literal("foo"f ) can ignore source encoding after r42843.
- Hello,
After r42843, frozen string literal can have encoding different from script encoding.
example:
usascii.rb:
# coding: us-ascii
def usascii
"foo"f
end
utf8.rb:
# coding: utf-8
def utf8
"foo"f
end
$ ruby -r... -
05:39 PM Revision 8579a339 (git): * ext/psych/lib/psych/visitors/yaml_tree.rb: use double quotes when
- strings start with special characters.
[Fixes GH-157] https://github.com/tenderlove/psych/issues/157
* test/psych/test_string.rb: test for change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42850 b2dd03c8-39d4-4d8f-98ff-823fe6... -
04:53 PM Bug #8730: "rescue Exception" rescues Timeout::ExitException
- (13/09/05 0:25), KOSAKI Motohiro wrote:
>>> 次に出てくるのは逆に、デーモンなどで全部捕まえたいケースで、rescue Timeout::Error, StandardError =>e
>>> と書きましょう(書いている)という記述 http://d.hatena.ne.jp/dreammind/20090217/1234813224
>>>
>>> 2番めは動かなくなりますよね。
>>
>> Tim... -
12:29 AM Bug #8730: "rescue Exception" rescues Timeout::ExitException
- 2013/8/28 nobu (Nobuyoshi Nakada) <[email protected]>:
>
> Issue #8730 has been updated by nobu (Nobuyoshi Nakada).
>
>
> kosaki (Motohiro KOSAKI) wrote:
>> > 具体的にはどのように解説されてどう利用されているんでしょうか。
>>
>> 残念ながら紙の書籍は手元にありませんが、
... - 03:05 PM Revision a9ab1366 (git): * 2013-09-06
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:05 PM Revision bbbc8b57 (git): class.c: remove recursion
- * class.c (rewrite_cref_stack): remove recursion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:02 PM Bug #8865 (Closed): OptionParser acceptable bugs
- This issue was solved with changeset r42844.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/optparse.rb: The Integer acceptable now allows binary and
... -
01:29 PM Bug #8865: OptionParser acceptable bugs
- From #ruby-core IRC:
19:46 nokada: drbrain: seems fine, and add tests 1234xyz fails, plz
-
09:47 AM Bug #8865: OptionParser acceptable bugs
- Here is patch 3 that uses end-of-string anchoring to ensure the entire number is bad.
-
09:20 AM Bug #8865: OptionParser acceptable bugs
- Updated with patch 2 that includes tests
-
06:00 AM Bug #8865 (Closed): OptionParser acceptable bugs
- I have found a few bugs in OptionParser's accept feature:
Hexadecimal and binary numbers are not properly supported for Integer
OptionParser::DecimalInteger, OptionParser::OctalInteger and OptionParser::DecimalNumeric convert inval... -
01:23 PM Feature #8863: New error class: UndefinedBehaviorError
- matz (Yukihiro Matsumoto) wrote:
> Hmm, defining the behavior to raise UndefinedBehaviorError seems contradiction to me.
> ...
It sounds like it, but my thought was that a user may catch other types of errors and use them meaningfully,... -
12:19 PM Feature #8863 (Feedback): New error class: UndefinedBehaviorError
- Hmm, defining the behavior to raise UndefinedBehaviorError seems contradiction to me.
Matz.
-
04:34 AM Feature #8863: New error class: UndefinedBehaviorError
- Well, maybe just leaving the behavior unspecified is enough, i don't know. But raising an error would reduce a chance of breaking a program of someone who has not read the documentation well.
-
04:30 AM Feature #8863 (Feedback): New error class: UndefinedBehaviorError
- =begin
I propose to consider introducing a new error class: (({UndefinedBehaviorError})) (or (({UnspecifiedBehaviorError}))). It would be somewhat similar to (({NotImplementedError})), but it would mean that the behavior is actually un... -
11:14 AM
Feature #7292: Enumerable#to_h
- I think that there are two basic possibilities for Enumerable#to_h behavior:
Strict:
[[:a, 1], ["b", 2]].to_h #=> { :a => 1, "b" => 2 }
# Anything else raises a TypeError:
[[:a], ["b", 2]].to_h #=> TypeError
[[:a, 1], ["b", 2, 3]].to_h... -
06:03 AM Feature #7292: Enumerable#to_h
- Wait! Shouldn't enum.to_h be the same as Hash[enum]?
-
04:17 AM Feature #7292: Enumerable#to_h
- Matz,
it was just a reminder about `#assoc` and `#rassoc`, sorry if it was redundant. IMO, they serve a similar purpose to `#to_h`: they allow to use an *array of two-element arrays* as a storage where selection "by key" or "by value... -
09:18 AM Bug #8852: Synology build of ruby-2.0.0-p247 is failing
- It seems r40476.
Could you try the trunk? - 09:07 AM Revision 7eafeaa3 (git): * string.c (fstring_cmp): take string encoding into account when
- comparing fstrings [ruby-core:57037] [Bug #8866]
* test/ruby/test_string.rb: add test
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:25 AM Revision dffae9a1 (git): string.c: reduce objects in rb_fstring
- * string.c (rb_fstring, rb_str_free): use st_data_t instead of VALUE.
* string.c (rb_fstring): get rid of duplicating already frozen object.
* parse.y (str_suffix_gen): freeze in advance to reduce objects.
git-svn-id: svn+ssh://ci.ruby... -
07:38 AM Bug #7445: strptime('%s %z') doesn't work
- 俺の英語は通用しないらしいから日本語で書いてあげます。
あなたこそ `DateTime` の話をしている事を忘れないで下さい。
参照でその先に書いてある事がそのまま通用するわけではありません。参照は
理解を深めるための参考に過ぎません。当たり前です。常識です。
`more`(1) より引用
>SEE ALSO
> ...
`more` は `less` と等価か? 並外れてますね。
そもそも、もう言った筈ですけれど、あなたが言うように `'... -
07:13 AM Bug #6312: Psych needlessly noisy parsing string node starting with number-ish string
- Sorry I hadn't noticed this issue was updated, possibly rubymine is not sending notifications anymore?
Anyway It's been 15 months since I submitted this, so please forgive me if I'm not very fresh on the subject, but as far as I can t... -
05:04 AM Revision f0bc5b1c (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:02 AM Revision ee155140 (git): * lib/optparse.rb: The Integer acceptable now allows binary and
- hexadecimal numbers per the documentation. [ruby-trunk - Bug #8865]
DecimalInteger, OctalInteger, DecimalNumeric now validate their input
before converting to a number. [ruby-trunk - Bug #8865]
* test/optparse/test_acceptable.rb:... -
04:53 AM Bug #8864 (Closed): sprintf segfaults with too high precision
- In any Ruby version (attempted with 1.8.7, 1.9.3, and 2.0.0), specifying a very large precision in sprintf can cause a segmentation fault.
The following code will cause the segmentation fault.
`"%.99999f" % 10`
The number to cau... - 04:49 AM Revision 6fd90000 (git): * include/ruby/ruby.h: add RSTRING_FSTR flag
- * internal.h: add rb_fstring() prototype
* parse.y (str_suffix_gen): deduplicate frozen string literals
* string.c (rb_fstring): deduplicate frozen string literals
* string.c (rb_str_free): delete fstrings from frozen_strings table when
... -
04:23 AM Misc #8835: Introducing a semantic versioning scheme and branching policy
- > 英語のチケットに日本語がぶら下がっていると英語しか読めない人から見て感じが悪いので、
そうしたいときには別に日本語のチケットを作ってそこからぶら下げるようにして下さい。
I only know a very small amount of Japanese, but the Google Translate of your post was very understandable. - 03:50 AM Revision 301cb9ca (git): * configure.in (with_gmp): set with_gmp no if it is empty.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:44 AM Revision ed0e42c3 (git): * vm_insnhelper.c (vm_getivar): use class sequence to check class
- identity, instead of pointer + vm state
* vm_insnhelper.c (vm_setivar): ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
09/04/2013
-
11:36 PM Bug #8852: Synology build of ruby-2.0.0-p247 is failing
- It cross compiles fine with following patch https://github.com/SynoCommunity/spksrc/blob/fad915904222094328425c2855f4fa193731ba84/cross/ruby/patches/fix-thread-stack.patch from from SynoCommunity.
It's currently reverted but I tested it... -
02:36 AM Bug #8852: Synology build of ruby-2.0.0-p247 is failing
- What does it mean `third party's issue` - who do you think should be investigating it?
Can you explain what to investigate, this is really edge case (Synology platform) with limited availability, how would one start debugging it?
-
11:22 PM Revision b1b39591 (git): * bignum.c (GMP_DIV_DIGITS): New macro.
- (bary_divmod_gmp): New function.
(rb_big_divrem_gmp): Ditto.
(bary_divmod_branch): Ditto.
(bary_divmod): Use bary_divmod_branch.
(bigdivrem): Ditto.
* internal.h (rb_big_divrem_gmp): Declared.
git-svn-id: svn+ssh://ci.ruby-la... -
10:04 PM Feature #7292: Enumerable#to_h
- Alexey, define "consistent" first. It's more difficult than you'd expect.
I don't usually vote for "consistency" except when there's clear benefit.
Matz.
-
08:20 PM Feature #7292: Enumerable#to_h
- #to_h should have no parameter, just a single well-defined behavior.
#to_h is for converting for the most simple case(s), if more control is needed, just make your own conversion.
And I think it would be much easier if it was just Ha... -
06:25 PM Feature #7292: Enumerable#to_h
- By the way, shouldn't the behavior be somewhat consistent with Array#assoc and Array#rassoc? Than would mean, in my opinion,
[[:a, 1], [:a, 2], [:b, 3, 4]].to_h # => {:a=>1, :b=>3} or {:a=>1} or Error, but not {:a=>2} -
11:15 AM Feature #7292: Enumerable#to_h
- =begin
@matz
How does it "destroy common case"?
[ [:a,1], [:b,2], [:c,3] ].to_h #=> {:a=>1, :b=>2, :c=>3}
Would work just fine. That was my first example case.
The next two show what other basic conversions of assoc arra... -
08:14 AM Feature #7292: Enumerable#to_h
- @trans I am sure
[ [:a], [:b,1,2], [:c,3] ].to_h #=> {:a=>[], :b=>[1,2], :c=>[3]}
is not we want. It destroys common cases for the sake of consistency.
If you want different behavior from proposed one, please show us rational... -
02:46 AM Feature #7292: Enumerable#to_h
- =begin
@marcandre That implementation is limited by to_ary and it does some weird things.
[ [:a], [:b,1,2], [:c,3] ].to_h #=> {:c=>3}
I know what you want is to convert an associative array into a hash. That's a good thing to have,... -
09:58 PM Bug #8205: Regexp.union behavior and Regexp.try_convert
- Hello,
Bug description is incorrect, sorry. Now i want to say that implementation of String#to_regexp can breaks behavior of Regexp::union.
class String
def to_regexp
/regexp/
end
end
Regexp.union('/some_regexp/') #=>... -
09:53 PM Feature #8862 (Open): getoptlong to accept user-provided commandline
- =begin
Hello,
The (({getoptlong})) module (({class GetoptLong})) provides no way for the user to provide a commandline that is not (({ARGV})). It appears that (({GetoptLong})) is tied to the (({ARGV})) global variable and this canno... -
09:23 PM Revision 3b1ab2a6 (git): * bignum.c (bary_divmod_normal): Reduce temporary array allocations.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:55 PM Feature #8859 (Rejected): Possibility to declare local varibles like "my" in Perl
- If you are proposing to introduce 'my' keyword to the language, there's no chance.
Introducing new keyword can cause compatibility problems, so that it should be very beneficial.
Otherwise please be concrete.
Matz.
-
02:50 PM Feature #8859 (Rejected): Possibility to declare local varibles like "my" in Perl
- Hi
I think it would be useful to have an analogue of the "my" keyword in Perl
e.g.
x = 'outer value'
p = Proc.new {
...
many code here
...
my x = 'local value does not affect outer variable'
}
I know I can declare local... -
06:47 PM Bug #8861 (Third Party's Issue): segmentation fault with ruby-ldap
- The following code is wrong as the fourth line should read: mod = LDAP::Mod.new(LDAP::LDAP_MOD_DELETE, "uid", ["uid=malvezzi"])
#encoding: utf-8
require 'ldap'
require 'ldap/ldif'
mod = LDAP::Mod.new(LDAP::LDAP_MOD_DELETE, ["ui... -
06:46 PM Revision 8db31315 (git): wait until the shutdowning message reaches to the server
- see #8831
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:28 PM Bug #8860 (Closed): 64-bit x86 ruby 1.9.3-p448 on Solaris core dumps on bug4950 test case
- 64-bit ruby 1.9.3-p448 on x86 in Solaris, compiled with the Studio 12.1 compiler,
core dumps against the test case for bug 4950 in bootstraptest/test_fork.rb.
This problem sounds similar to issue 6334, which was rejected due
to lack o... -
06:09 PM Bug #7731: Segmentation fault when trying to start rails server
- I'm having the same problem (I think) with Ruby 2.0 on Ubuntu 13.04. It doesn't happen with json 1.7.5 gem, but crashes with 1.7.7 or 1.8.0:
/usr/share/omf-expctl-5.4/gems/gems/json-1.8.0/lib/json/common.rb:67: [BUG] Segmentation fault
... -
05:21 PM Revision 8745bc67 (git): * bignum.c (rb_big_divrem_normal): Add GC guards.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:19 PM Bug #8831 (Assigned): test-all error: OpenSSL::SSL::SSLError: SSL_write: bad write retry
- On r42790 usa ignored this error, but tenderlove should confirm this.
- 04:53 PM Revision 1abfdb45 (git): * vm_insnhelper.c (vm_search_method): no need to check klass == ci->klass
- in method cache guard - class sequence number has the same uniqueness
guarantees
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:11 PM Revision 149fd43e (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:10 PM Revision 8f8bf824 (git): * bignum.c (rb_big_divrem_normal): New function.
- * internal.h (rb_big_divrem_normal): Declared.
* ext/-test-/bignum/div.c: New file.
* test/-ext-/bignum/test_div.rb: New file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:10 PM Revision ff5a4c99 (git): * 2013-09-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:10 PM Revision cf3736a7 (git): * bignum.c (bigdivrem_normal): Removed.
- (bary_divmod_normal): New function.
(bary_divmod): Use bary_divmod_normal.
(bigdivrem): Use bary_divmod_normal.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:41 PM Revision 88270e77 (git): win32.c: suppress warning
- * win32/win32.c (do_select): unconstify timeout as select() declares
it non-const.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:25 PM
Feature #8426 (Closed): Implement class hierarchy method caching
- This issue was solved with changeset r42822.
Charlie, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* class.c, compile.c, eval.c, gc.h, insns.def, internal.h, met... -
02:03 PM Revision 102a2c2e (git): * bignum.c (bigdivrem): Useless declaration removed.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:57 PM Revision 326e3816 (git): numeric.c: split NUM_STEP_GET_INF
- * numeric.c (NUM_STEP_GET_INF): split from NUM_STEP_SCAN_ARGS(), since
inf is not used in num_step_size().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:25 AM Bug #7445: strptime('%s %z') doesn't work
- tadf (tadayoshi funaba) wrote:
> this is intentional behaviour.
Then update the documentation to say so.
> ...
Yes it can. I've shown how it can in C `strptime`(3), and even you showed that it works with `DateTime.strftime`(3).
... -
11:23 AM Bug #7445: strptime('%s %z') doesn't work
- tadf (tadayoshi funaba) wrote:
> `DateTime` also does.
> ...
So you accept `strftime()` works correctly with `'%s %z'`? Then why do you not accept that `strptime()` doesn't? -
11:21 AM Bug #7445: strptime('%s %z') doesn't work
- tadf (tadayoshi funaba) wrote:
> but you can't preserve offset with `mktime`(3).
We are not talking about `mktime`(3), we are talking about `strptime()`. This is a red herring argument.
The documentation of `Date.strptime()` clear... -
11:23 AM Revision dd95c9b1 (git): * bignum.c (bigdivrem_normal): Add assertions.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:31 AM Feature #8460: PATCH: optparse: add `keep_unknown` option
- Any update on this?
-
10:18 AM Revision 35f11f30 (git): internal.h: LONG_LONG vm_state_version_t
- * internal.h (vm_state_version_t): prefer LONG_LONG to uint64_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:28 AM Revision cb3c8119 (git): internal.h: fix vm_state_version_t
- * internal.h (vm_state_version_t): use uint64_t when it is larger than
LONG_LONG, and fallback to unsigned long.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:18 AM Revision eeb39e01 (git): vm.c: prototype
- * vm.c (rb_next_class_sequence): use ANSI style definition and
prorotype declaration, instead of old-K&R style.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:43 AM Revision 71f39435 (git): * NEWS: Note about Module#include and prepend scope change
- [Feature #8846]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:40 AM Revision 0e92ae96 (git): * enc/trans/utf8_mac-tbl.rb: fix r42789.
- Fix conversion table and logic. [ruby-dev:47680]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:25 AM Revision 2f522b9c (git): * class.c, compile.c, eval.c, gc.h, insns.def, internal.h, method.h,
- variable.c, vm.c, vm_core.c, vm_insnhelper.c, vm_insnhelper.h,
vm_method.c: Implement class hierarchy method cache invalidation.
[ruby-core:55053] [Feature #8426] [GH-387]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42822 b2d... -
04:19 AM Revision 4142e830 (git): fix typos
- pointed out by nagachika.
http://d.hatena.ne.jp/nagachika/20130903/ruby_trunk_changes_42782_42812#r42799
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:13 AM Revision b31965cb (git): string.c: fix for \K
- * string.c (str_gsub): use BEG(0) for whole matched position not
return value from rb_reg_search(), for \K matching.
[ruby-dev:47694] [Bug #8856]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42820 b2dd03c8-39d4-4d8f-98ff-823fe... -
02:12 AM Feature #8811: Counterpart to `Hash#key?` for `Array`
- Why not to use
3 < a.size
instead of
a.index?(3)
etc.? -
02:12 AM Revision 90cbcbe6 (git): test_rubyoptions.rb: ignore trivial differences
- * test/ruby/test_rubyoptions.rb (ExpectedStderr): ignore trivial
differences, not worth to break the tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:11 AM Revision bd840215 (git): * 2013-09-04
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:11 AM Revision fdf04ce6 (git): configure.in: libruby needs gmp
- * configure.in (SOLIBS): LIBRUBY_SO also needs linking with gmp, to
run worker processes in test-all on non-ELF platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:02 AM Feature #8846 (Closed): Publicize Module#include
- Implemented in r42809.
-
12:37 AM Bug #8854: Update URL for bug reports
- bugreport.html does not exist (I do not know since when), and we set up a redirect to bugs.ruby-lang.org earlier today.