Activity
From 03/14/2017 to 03/20/2017
03/20/2017
-
08:30 PM Bug #10944 (Closed): Documentation of Array.new w.r.t. element index available to a block
- Applied in changeset r58037.
----------
docs for creating arrays
* array.c: [DOC] add example for Array.new with bl... -
08:17 PM Bug #10944: Documentation of Array.new w.r.t. element index available to a block
- Although it's already documented in Array.new, an additional example in the class documentation cannot hurt; so I'll ...
- 08:30 PM Revision d6a197ca (git): * 2017-03-21
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:30 PM Revision 56abb1cd (git): docs for creating arrays
- * array.c: [DOC] add example for Array.new with block and index.
Reported by Don Cruickshank. [ruby-core:68442] [B... -
08:28 PM Bug #13339 (Closed): Assertion Failed: string.c:2061:rb_str_change_terminator_length:capa >= len
- This makes ruby 2.4.0 crash on my system (log attached):
```ruby
('a' * 23).encode('utf-16').encode!('utf-8')
``... -
07:42 PM Bug #13338 (Closed): MinGW SEGV in test/ruby/test_keyword.rb svn 58034, ok in svn 58021.
- In a MinGW / MSYS2 64 bit build, the following line generates a SEGV in svn 58034 [test/ruby/test_keyword.rb:L373](ht...
-
07:30 PM Bug #13321: String#codepoints for one-byte encodings
- Thanks!
-
06:36 PM Bug #13337 (Closed): Eval and Later Defined Local Variables
- I've noticed the following behavior with eval:
~~~ ruby
def example
eval("foo") # => nil, but would expect a N... -
05:34 PM Bug #13336 (Closed): Default Parameters don't work
- ```ruby
def funny(a = true, b: nil)
p a
end
funny([1,2,3]) # => [1,2,3]
funny({k:1}) # => in `funny': unkn... -
12:26 PM Bug #12405: Queue doesn't work inside of trap
- ruby_2_3 r58036 merged revision(s) 57477,57478,57479.
-
12:26 PM Revision e120cc91 (git): merge revision(s) 57477,57478,57479: [Backport #12405]
- use TRUE/FALSE.
define rb_thread_sleep_deadly_allow_spurious_wakeup().
* thread.c, thread_sync.c: d... -
11:45 AM Bug #13326: Forwarding methods to :method_missing produces a warning
- Ah, hadn't known about `respond_to_missing?`, thanks for the advise.
-
07:07 AM Feature #13335 (Closed): Gemify mathn
- Applied in changeset r58035.
----------
Added initial gemspec for mathn.
[Feature #13335] -
07:05 AM Feature #13335 (Closed): Gemify mathn
- mathn is deprecated [Feature #10169] from 2 years ago.
We should extract from stdlib at Ruby 2.5.0. -
07:07 AM Revision 719262ee (git): Added initial gemspec for mathn.
- [Feature #13335]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:07 AM Feature #10169 (Assigned): It might be better to make Mathn class deprecated
-
07:06 AM Feature #13334 (Assigned): Removed deprecated mathn extentions.
-
06:57 AM Feature #13334 (Closed): Removed deprecated mathn extentions.
- `mathn/complex` and `mathn/rational` is deprecated from 2008. We should remove it before Ruby 3.0 release.
https:/... -
04:53 AM Feature #13333 (Open): block to yield
- Currently, blocks can take a block by `do |&block| end` construct.
But the only way to pass a block or a bloc argume... -
01:36 AM Revision 57d6dd5a (git): Avoid integer overflow in sprintf()
- merged https://github.com/mruby/mruby/commit/ff03a9a61c62340cff62f8e0fdc1a1e8775b6f17
git-svn-id: svn+ssh://ci.ruby-... -
01:33 AM Revision f31bb33a (git): sprintf.c: string limits
- * sprintf.c (ruby__sfvwrite): use long instead of size_t due to
string limits.
git-svn-id: svn+ssh://ci.ruby-lang....
03/19/2017
-
11:48 PM Bug #13326 (Rejected): Forwarding methods to :method_missing produces a warning
- When you define `method_missing` method, you should define `respond_to_missing?` method too.
-
01:39 AM Bug #13326: Forwarding methods to :method_missing produces a warning
- It would need a special care, I think.
-
11:26 PM Feature #13332: Forwardable#def_instance_delegator nil
- I wonder how common such case is.
And you can override delegator/accessor methods by yourself. -
10:52 PM Feature #13332 (Feedback): Forwardable#def_instance_delegator nil
- I'd like to suggest an extension to the signature of stdlib Forwardable#def_instance_delegator
currently (ruby 2.3... -
09:48 PM Bug #13190: [DOC] Fix error for escape sequences in string literals
- ruby_2_3 r58032 merged revision(s) 57517.
-
09:48 PM Revision 26b9fb47 (git): merge revision(s) 57517: [Backport #13190]
- doc: Fix error for escape sequences in string literals
Backslash goes first in escape sequences, so it must ... -
09:47 PM Bug #13189: [DOC] Restore class documentation for Struct
- ruby_2_3 r58031 merged revision(s) 57522.
-
09:46 PM Revision 6781722a (git): merge revision(s) 57522: [Backport #13189]
- doc: restore class documentation for Struct
* struct.c: restore class documentation for Struct
tha... -
09:45 PM Bug #13161: [DOC] Enumerable#{min,min_by,max,max_by} didn't mention they return a sorted array
- ruby_2_3 r58030 merged revision(s) 57434.
-
09:45 PM Revision b334883c (git): merge revision(s) 57434: [Backport #13161]
- Enumerable#{min,min_by,max,max_by} [ci skip]
* enum.c: [DOC] Enumerable#{min,min_by,max,max_by} return a sor... -
09:43 PM Bug #11900: broken encoding of commandline on Windows
- ruby_2_3 r58029 merged revision(s) 54785.
-
09:43 PM Revision ce6fdd55 (git): merge revision(s) 54785: [Backport #11900]
- * ruby.c (process_options): convert -e script to the encoding
given by a command line option on Windows. a... -
09:36 PM Bug #13306: [DOC] rdoc for IO#puts
- I very much think the _output_ record separator was meant, and I suggest the following:
``` diff
diff --git a/io.... -
09:33 PM Bug #11752: Bug in Rational documentation
- ruby_2_3 r58028 merged revision(s) 57539.
-
09:33 PM Revision 0844dbdc (git): merge revision(s) 57539: [Backport #11752]
- rational.c: fix rdoc [ci skip]
* rational.c (rb_rational_plus): [DOC] fix an example.
A patch by T... -
09:22 PM Bug #8996: pthread_mutex_lock EINVAL
- ruby_2_3 r58027 merged revision(s) 57595.
-
09:22 PM Revision 84ccd55a (git): merge revision(s) 57595: [Backport #8996]
- check thread deadness correctly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@58027 b2dd03c8-39d4-... -
09:07 PM Bug #12741: Timeout with specified exception class sets cause on error if timeout block is handling an exception when timeout occurs
- ruby_2_3 r58026 merged revision(s) 56125,56150.
-
09:07 PM Revision 63818379 (git): merge revision(s) 56125,56150: [Backport #12741]
- * thread.c (rb_threadptr_raise): set cause from the called thread,
but not from the thread to be interrupte... -
08:38 PM Bug #10403: `puts` documentation fix
- ruby_2_3 r58025 merged revision(s) 57767,57944.
-
08:38 PM Revision 250fa1cb (git): merge revision(s) 57767,57944: [Backport #10403]
- io.c: documentation for puts
* io.c: [DOC] clarify that the 'record separator' between
arguments p... -
06:55 PM Bug #13331 (Closed): Inconsistent conversion of Float into Decimal
- One would reasonably expect the equality 1.to_d * f == f.t_d to hold for every Float value f, i.e. multiplying by Dig...
-
03:01 PM Bug #9127 (Closed): URI::Generic#normalize documentation is vague.
- Applied in changeset r58023.
----------
improve docs for URI::Generic
* lib/uri/generic.rb: [DOC] expand docs for U... - 03:01 PM Revision f956ed10 (git): * 2017-03-20
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:01 PM Revision 58c3935e (git): improve docs for URI::Generic
- * lib/uri/generic.rb: [DOC] expand docs for URI::Generic#normalize
to clarify what normalization means here.
Repo... -
02:29 PM Bug #13325: Block is not passed to Symbol proc if using refinements
- ruby_2_4 r58022 merged revision(s) 58015.
-
02:29 PM Revision dd6be57d (git): merge revision(s) 58015: [Backport #13325]
- vm_args.c: pass block
* vm_args.c (refine_sym_proc_call): pass block to the method when
using refi... -
12:46 PM Revision f30ed02b (git): sprintf.c: use FILL
- * sprintf.c (rb_str_format): use FILL and FILL_ macros instead of
while loop.
git-svn-id: svn+ssh://ci.ruby-lang.o... -
11:20 AM Bug #13330: Array.include? is slow for symbols
- Created PR with a fix https://github.com/ruby/ruby/pull/1540
-
11:19 AM Bug #13330 (Closed): Array.include? is slow for symbols
- Looking at the code I noticed that [:test].include?(:test) goes through a general path instead using an optimised ver...
-
09:56 AM Bug #10936: Error in Rubydoc for DateTime#rfc3339
- Fixed. The actually used format is "%FT%T%:z".
-
09:51 AM Bug #10936 (Closed): Error in Rubydoc for DateTime#rfc3339
- Applied in changeset r58020.
----------
date_core.c: fix error in DateTime docs
* ext/date/date_core.c: [DOC] fix f... -
09:51 AM Revision d8bf1785 (git): date_core.c: fix error in DateTime docs
- * ext/date/date_core.c: [DOC] fix format string for DateTime#rfc3339.
Reported by Andreas Rayo Kniep. [ruby-core:6... -
08:11 AM Misc #13329 (Closed): Creating a German ruby mailinglist on ruby-lang.org?
- Hi everyone,
I have emailed [email protected] and opened [a ticket on the website's GitHub repo](https://git... -
05:10 AM Feature #11302: Dir.entries and Dir.foreach without [".", ".."]
- red (Arnaud Rouyer) wrote:
> Basing myself on the GNU ls util, I propose supporting an `:ignore` key in the optional... -
05:05 AM Bug #13235: [BUG] Segmentation fault at 0x00000000000038
- If required...
~~~
~/Library/Logs/DiagnosticReports $ cat ruby_2017-03-19-084425_Geordees-MacBook-Pro.crash
Proc... -
04:58 AM Bug #13235: [BUG] Segmentation fault at 0x00000000000038
- I can confirm the same error. Ruby 2.4.0, Mongo 2.4.1, Darwin. While looping through CSV file to load data into MongoDB.
-
01:44 AM Bug #13276 (Assigned): Dir.glob returns empty array when OS has no more file handles (expected exception)
- This bug predates 1.0, so it will be fixed by 2.5 but won't be backported.
-
01:37 AM Bug #13328 (Third Party's Issue): Implement OpenSSL::SSL::SSLContext#initialize_copy
- Please open an issue at https://github.com/ruby/openssl when reporting bugs of ext/openssl.
This is however not a ... -
01:34 AM Bug #13327 (Third Party's Issue): Segfault on OSX when using ffi-aspell
- A bug in ffi-aspell or (less probably) aspell library.
FFI can very easily cause segfault. -
01:11 AM Bug #12705 (Closed): yielding args to a lambda uses block/proc rather than lambda/method semantics
- Applied in changeset r58019.
----------
vm_args.c: arity check of lambda
* vm_eval.c (rb_yield_lambda): new functio... -
01:11 AM Revision 976becf7 (git): vm_args.c: arity check of lambda
- * vm_eval.c (rb_yield_lambda): new function which yields an array
to a proc and splat to a lambda. mainly for Enum...
03/18/2017
-
08:48 PM Bug #13328 (Third Party's Issue): Implement OpenSSL::SSL::SSLContext#initialize_copy
- Starting in Ruby 2.4, an `OpenSSL::SSL::SSLContext` cannot be dup'ed or cloned:
```
[1] pry(main)> require 'opens... -
06:43 PM Bug #13327 (Third Party's Issue): Segfault on OSX when using ffi-aspell
- Issue: Segfault on OSX when using ffi-aspell set method
Reproducable test case:
~~~ ruby
require 'ffi/aspell';... -
04:00 PM Bug #13326 (Rejected): Forwarding methods to :method_missing produces a warning
- Since 2.4 forwarding methods to private methods is deprecated (https://bugs.ruby-lang.org/issues/12782) and `method_m...
-
03:58 PM Revision a9d575e5 (git): test_lambda.rb: remove duplcate tests
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:30 PM Revision a633115f (git): * 2017-03-19
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:30 PM Revision 1de013b3 (git): test_lambda.rb: refine test
- * test/ruby/test_lambda.rb (test_lambda_as_iterator): refine a
test for the intention of the original report.
[ru... -
02:22 PM Bug #13325 (Closed): Block is not passed to Symbol proc if using refinements
- Applied in changeset r58015.
----------
vm_args.c: pass block
* vm_args.c (refine_sym_proc_call): pass block to the... -
02:14 PM Bug #13325 (Closed): Block is not passed to Symbol proc if using refinements
- The following code raises a `LocalJumpError` at the last line on 2.4 and trunk.
2.3 and earlier work fine.
```rub... -
02:22 PM Revision 49455d6c (git): vm_args.c: pass block
- * vm_args.c (refine_sym_proc_call): pass block to the method when
using refinements. [ruby-core:80219] [Bug #13325... -
01:15 PM Revision adb3f250 (git): vm.c: fix up r58012
- * vm.c (invoke_iseq_block_from_c): fix stack region length.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58014 ... -
12:50 PM Bug #13276: Dir.glob returns empty array when OS has no more file handles (expected exception)
- Bump?
-
12:04 PM Bug #13198: Tempfile#size is nil when nothing is written, expected 0
- ruby_2_4 r58013 merged revision(s) 57972.
-
12:02 PM Revision 8be9bd48 (git): merge revision(s) 57972: [Backport #13198]
- Fix bug of Tempfile#size if nothing is written [Bug #13198]
* lib/tempfile.rb (Tempfile#size): Fix its behav... -
11:29 AM Revision 7768312c (git): vm.c: guard arguments [EXPERIMENTAL]
- * vm.c (invoke_iseq_block_from_c): guard arguments on stack, not
to be clobbered during splatting.
git-svn-id: svn... -
10:37 AM Revision 655aa318 (git): .gdbinit: suppress gdb message [ci skip]
- * .gdbinit (rp): check number of instance variables to get rid of
"Invalid number 0 of repetitions." message at an... -
10:19 AM Revision c85cdc12 (git): .gdbinit: RArray in history [ci skip]
- * .gdbinit (rp): put the contents of RArray in value history, for
later use.
git-svn-id: svn+ssh://ci.ruby-lang.or... -
01:50 AM Bug #13321: String#codepoints for one-byte encodings
- InfraRuby (InfraRuby Vision) wrote:
> Please update the documentation for `String#codepoints` too.
That says "Thi... -
01:35 AM Revision a5330fa9 (git): fix accidental reversal of r57997 in r58000
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
03/17/2017
-
09:25 PM Bug #13321: String#codepoints for one-byte encodings
- @duerst, @normal
r58000 accidentally reverts r57997 ("deduplicate static rb_str_format format strings") for `strin... -
06:39 PM Bug #13321: String#codepoints for one-byte encodings
- Please update the documentation for `String#codepoints` too.
`String#codepoints` does return (Unicode) codepoints ... -
04:00 AM Bug #13321: String#codepoints for one-byte encodings
- I tried to improve the documentation with r58000. Please tell me if that helps, or if further explanations are needed.
-
03:10 AM Bug #13321: String#codepoints for one-byte encodings
- That's surprising to me but I can see that. Thanks!
-
01:11 AM Bug #13321 (Rejected): String#codepoints for one-byte encodings
- 0x20AC is euro sign in Unicode, it is 0x80 in Windows-1252.
-
09:04 PM Bug #9294 (Closed): Documentation for IO#read claims resulting string is always ASCII-8BIT encoding
- steenslag (siep korteling) wrote:
> Documentation for IO#read claims resulting string is always ASCII-8BIT encoding.... -
08:48 PM Revision fbaee79e (git): io.c: improve docs
- * io.c: [DOC] improve and harmonize docs for IO#read and ARGF#read;
fix invalid example code for IO#read to make it... - 07:59 PM Revision b15f8473 (git): * 2017-03-18
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 07:59 PM Revision cad45910 (git): remove branches in dmark and dfree GC callbacks
- dmark and dfree callbacks are never called in gc.c for NULL
DATA_PTR values, not even for zombie objects.
* compile.... -
04:02 PM Bug #13324: IRB Segmentation Fault from eval infinite loop
- The command I use to run it directly on the ruby interpreter is ruby -e "a = \"eval a\"; eval a"
-
04:01 PM Bug #13324 (Rejected): IRB Segmentation Fault from eval infinite loop
- I am not sure if this has already been taken care of or not but I am using ruby 2.3.0 and irb 0.9.6(09/06/30) and whe...
-
03:25 PM Bug #13107: def_delegators causes random errors in MRI 2.4.0
- [email protected] (Thomas Walpole) wrote:
> This appears to be fixed in latest trunk now. Is there any info on whe... -
01:32 PM Bug #13323 (Third Party's Issue): bug - workers - postgresql listen/notify
- xxxxxxxxxxxxxx.rb:148: [BUG] Segmentation fault at 0x0055f42ff34a70
ruby 2.3.3p222 (2016-11-21 revision 56859) [x86_... -
01:24 PM Revision 3a55e8a4 (git): fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:08 AM Revision f31307d1 (git): vm.c: check stack
- * vm.c (invoke_iseq_block_from_c): check stack overflow before
pushing arguments.
git-svn-id: svn+ssh://ci.ruby-la... -
07:06 AM Bug #13313: Segmentation fault when calling Thread.new with Symbol proc shorthand
- ruby_2_4 r58003 merged revision(s) 57968,57969,57970.
-
07:06 AM Revision 147107ce (git): merge revision(s) 57968,57969,57970: [Backport #13313]
- thread.c: thread_do_start
* thread.c (thread_do_start): extract from a macro in
thread_start_func_... -
05:00 AM Feature #12973: [RFC] net/http: use require_relative to reduce syscalls
- I remember there was a similar issue https://bugs.ruby-lang.org/issues/8781.
-
01:08 AM Feature #12973: [RFC] net/http: use require_relative to reduce syscalls
- [email protected] wrote:
> https://bugs.ruby-lang.org/issues/12973
Comments? Maybe I'll commit this, soon.
... -
01:08 AM Feature #12973 (Assigned): [RFC] net/http: use require_relative to reduce syscalls
-
04:44 AM Revision 97c77bac (git): merge revision(s) 57956:
- Raise error if spec is nil
With parallel test-all, the spec is sometimes nil.
To debug it raise more... -
04:36 AM Bug #13322: Backport rubygems-2.6.11 for Ruby 2.4.1
- ruby_2_4 r58001 merged revision(s) 57523,57998.
-
01:17 AM Bug #13322 (Closed): Backport rubygems-2.6.11 for Ruby 2.4.1
- rubygems-2.6.10 has a regression for installation of a beta version.
https://github.com/rubygems/rubygems/pull/185... -
04:36 AM Revision 1492c6f6 (git): merge revision(s) 57523,57998: [Backport #13322]
- test_gem.rb: exclude default gems
* test/rubygems/test_gem.rb: check difference to exclude default
... -
02:24 AM Revision 67c11978 (git): clarifiy 'codepoint' in documentation of String#each_codepoint
- Make sure it's clear that the returned values are not Unicode codepoints
for encodings other than UTF-8/UTF-16(BE|LE)... - 01:29 AM Revision 77e1c20b (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:29 AM Revision fa59a2ea (git): Merge rubygems-2.6.11
- This version fixed regression of rubygems-2.6.10.
https://github.com/rubygems/rubygems/pull/1856
See details of ... - 12:55 AM Revision 9eb94b4d (git): deduplicate static rb_str_format format strings
- Anybody who hits these code paths can hit them again in the
future, so try deduplicating across multiple runs of thes... - 12:55 AM Revision 312ac7f0 (git): deduplicate File::NULL string
- "/dev/null" is a common sight for pre-1.9.3-compatible code
targeting *nix systems, so deduplicate it here, as well.
... - 12:55 AM Revision 05404cba (git): deduplicate "/", ":" and "\n" strings
- "/" and ":" are always statically registered in symbol.c (Init_op_tbl),
and "\n" is a commonly seen in source code.
... -
12:35 AM Bug #13271: Clarifications on refinement spec
- Gondolin (Damien Robert) wrote:
> shugo (Shugo Maeda) wrote:
> > The behavior was changed by Feature #8571.
>
> ...
03/16/2017
- 11:17 PM Revision adce0ea9 (git): NEWS: document shorter opt_str_freeze usage
- Users do not read commit messages, but maybe they read NEWS.
r57828 ("compile.c: apply opt_str_freeze to String#-@ (... -
10:45 PM Bug #13321 (Rejected): String#codepoints for one-byte encodings
- On many versions of Ruby, including 2.4.0:
"\x80".force_encoding("WINDOWS-1252").codepoints.first # => 0x80
... -
09:20 PM Bug #13271: Clarifications on refinement spec
- shugo (Shugo Maeda) wrote:
> The behavior was changed by Feature #8571.
Well I prefer that this feature remains s... -
03:12 AM Bug #13271: Clarifications on refinement spec
- shugo (Shugo Maeda) wrote:
> Gondolin (Damien Robert) wrote:
> > > The behavior of my first proposal was what you e... -
01:33 AM Bug #13271: Clarifications on refinement spec
- Gondolin (Damien Robert) wrote:
> > The behavior of my first proposal was what you expected, but it was changed to r... - 08:58 PM Revision ec039905 (git): * 2017-03-17
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:58 PM Revision 0bb1a6cb (git): bignum.c: [DOC] typos and grammar
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:50 PM Bug #13223: `File.join` will segv if File::SEPARATOR and File::Separator are set.
- shyouhei (Shyouhei Urabe) wrote:
> I'd personally like to vote for ignoring redefinitions of constants. In general r... -
01:59 AM Bug #13223: `File.join` will segv if File::SEPARATOR and File::Separator are set.
- I'd personally like to vote for ignoring redefinitions of constants. In general redefinitions prevent optimizations. ...
-
06:46 PM Feature #13208: Vector.zero(n) and vector.zero?
- Martin is exactly right. See https://en.wikipedia.org/wiki/Vacuous_truth
-
06:31 PM Bug #13320 (Closed): rescue blocks get an entry in backtrace locations
- ```ruby
def foo
puts caller(0)
end
def bar
raise
rescue
foo
end
bar
```
foo
rescue in bar
ba... -
02:19 PM Bug #13319 (Feedback): GC issues seen with GCC7
- Could you try the recent trunk?
-
12:50 PM Bug #13319 (Closed): GC issues seen with GCC7
- It looks like there is a latent GC issue somewhere that I can for example reproduce with ruby 2.3.3 and 2.2.6 when bu...
-
12:05 PM Bug #13305: Occasional segfaults after defining methods while running coverage
- mame (Yusuke Endoh) wrote:
> I think I could fix the issue. Nikita, thank you for the very useful report!
Awesom... -
11:44 AM Bug #13318 (Third Party's Issue): Segmentation fault at 0x00000000000018
- It's a bug in BTCRuby which uses FFI.
Please report it to BTCRuby authors. -
09:50 AM Bug #13318 (Third Party's Issue): Segmentation fault at 0x00000000000018
- I was running straight-server and use straight-server-kit command to create an order, then encountered an error. Outp...
-
08:10 AM Bug #13196: Improve keyword argument errors when non-keyword arguments given
- stomar (Marcus Stollsteimer) wrote:
> * I think `rb_str_cat_cstr(mesg, ": ");` in the while-loop doesn't work; ":" m... -
06:51 AM Revision f8d01bcb (git): rational.c: initialize n
- * rational.c (read_num): `n` was used uninitialized when the
string started with a period.
git-svn-id: svn+ssh://c... -
03:35 AM Bug #13134 (Closed): Rational() inconsistency
- Applied in changeset r57990.
----------
rational.c: float denom
* rational.c (parse_rat): allow float as a denomina... -
03:35 AM Revision a2ac0982 (git): rational.c: float denom
- * rational.c (parse_rat): allow float as a denominator as well as
a numerator. [ruby-core:79104] [Bug #13134]
git... -
03:32 AM Revision 62fb6147 (git): rational.c: read_num
- * rational.c (read_num): use rb_int_parse_cstr to parse integer
parts, and make String#to_r consistent with #to_i a... -
03:21 AM Revision 92e2a704 (git): bignum.c: rb_int_parse_cstr
- * bignum.c (rb_int_parse_cstr): extend rb_cstr_parse_inum with
flags.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/... -
03:05 AM Bug #13105 (Closed): `String#to_f` and `String#to_r` don't stop at successive underscores
- Applied in changeset r57987.
----------
test_rational.rb: invalid exponent
* test/ruby/test_rational.rb (test_parse... -
03:05 AM Revision a441e89c (git): test_rational.rb: invalid exponent
- * test/ruby/test_rational.rb (test_parse): more checks for invalid
exponent. [ruby-core:80098] [Bug #13105]
git-s... -
02:02 AM Revision 1a6f2391 (git): test_rational.rb: duplicate assertions
- * test/ruby/test_rational.rb (test_parse): remove duplicate
assertions.
git-svn-id: svn+ssh://ci.ruby-lang.org/rub... -
01:53 AM Revision b296e290 (git): rational.c: zero division
- * rational.c (read_rat_nos): denominator cannot be 0, raise zero
division in that case.
git-svn-id: svn+ssh://ci.r... - 12:43 AM Revision 1e07906a (git): * 2017-03-16
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:43 AM Revision c8d30204 (git): test_rational.rb: shorten
- * test/ruby/test_rational.rb (test_parse): reduce repeated
arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/... -
12:37 AM Bug #13317 (Third Party's Issue): Console Segmentation fault at 0x00000000000038
- > ```
> 2 ruby 0x000000010bd2a4e4 sigsegv + 68
> 3 libsystem_platform.dylib ...
03/15/2017
-
09:42 PM Feature #13208: Vector.zero(n) and vector.zero?
- Granted, in the case of #zero? returning true might suggest itself, but is "nothing" really the same as "zero"...? If...
-
03:07 AM Feature #13208: Vector.zero(n) and vector.zero?
- stomar (Marcus Stollsteimer) wrote:
> Just curious:
>
> ``` ruby
> Vector.zero(0).zero? # => true or false?
> ... -
02:53 PM Bug #13317 (Third Party's Issue): Console Segmentation fault at 0x00000000000038
- First: It's been 3 years I'm daily using Ruby, and that's the first time I encounter such a bug, so, thank you for al...
-
02:42 PM Feature #13303: String#any? as !String#empty?
- > and understand there's Array#any?.
This is a misconception, `Array#any?` does not check if the array is empty, b... -
12:41 PM Revision c8a3b31b (git): vm_insnhelper.c: adjust indent [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:30 AM Misc #13283: Disable `&' interpreted as argument prefix warning when passing symbol to Enumerable#map
- Great! Thanks for the update Martin!
-
02:57 AM Misc #13283 (Closed): Disable `&' interpreted as argument prefix warning when passing symbol to Enumerable#map
- First, for `&` immediately before a `:symbol` (without any space inbetween), Nobu already has removed the warning as ...
-
12:06 AM Misc #13283: Disable `&' interpreted as argument prefix warning when passing symbol to Enumerable#map
- > Just looking in stdlib, `Set#&` means set intersection, and anyone can define `#&` on any class they like to mean w...
-
08:30 AM Bug #13271: Clarifications on refinement spec
- Thanks for the answers!
shugo (Shugo Maeda) wrote:
> The behavior of my first proposal was what you expected, but... -
07:39 AM Bug #13271: Clarifications on refinement spec
- Gondolin (Damien Robert) wrote:
> 1) As I was expecting, '`using M1`' not only activate the refinements of `M1` but ... - 08:25 AM Revision 0ddb77a4 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:25 AM Revision 10b80013 (git): add several counters to analyze ivar inline caches.
- * debug_counter.h: add (and renamed) several counters:
ivar_get_ic_hit
ivar_get_ic_miss
ivar_get_ic_miss_serial... -
08:20 AM Bug #13105 (Open): `String#to_f` and `String#to_r` don't stop at successive underscores
-
08:15 AM Bug #13105 (Closed): `String#to_f` and `String#to_r` don't stop at successive underscores
- Applied in changeset r57979.
----------
object.c: make String#to_f consistent with literal
* object.c (rb_cstr_to_d... -
08:15 AM Revision 0b1f6aed (git): object.c: make String#to_f consistent with literal
- * object.c (rb_cstr_to_dbl): stop at successive underscores, as
well as Float literals. [ruby-core:80098] [Bug #13... -
07:57 AM Revision 8c661ba2 (git): string.c: shortcut argument check
- * string.c (str_casecmp, str_casecmp_p): split to skip argument
check when it is a String certainly.
* string.c (s... -
06:44 AM Feature #5481: Gemifying Ruby standard library
- >I'd like to gemify matrix & ostruct
marcandre, Thank you for your attention.
I try to clarify to gemification ... -
05:31 AM Misc #13316 (Third Party's Issue): gem startup and Path order OS X
-
05:31 AM Misc #13316: gem startup and Path order OS X
- You run `/usr/bin/gem`.
Is `gem` command in `/Users/Stuart/.rvm/gems/ruby-2.4.0/bin` directory, and excutable? -
12:59 AM Revision 8bc07298 (git): io.c: [DOC] add missing `$`
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
03/14/2017
-
11:55 PM Misc #13283: Disable `&' interpreted as argument prefix warning when passing symbol to Enumerable#map
- mojavelinux (Dan Allen) wrote:
> The alternative, a bitwise operation on a symbol, makes little sense. That's especi... -
11:04 PM Bug #12642: Net::HTTP populates host header incorrectly when using an IPv6 Address
- # Missing brackets from Host header for IPv6 addresses
This is a regression from Ruby 2.1. The bug appears to have... -
08:57 PM Feature #5481: Gemifying Ruby standard library
- hsbt (Hiroshi SHIBATA) wrote:
> Thank you for your information. I have never seen jruby patches in jruby/ruby reposi... -
08:06 PM Feature #5481: Gemifying Ruby standard library
- I'd like to gemify matrix & ostruct, but it's not clear to me what needs to be done besides creating the gemspec and ...
-
08:21 PM Feature #13208: Vector.zero(n) and vector.zero?
- Just curious:
``` ruby
Vector.zero(0).zero? # => true or false?
```
Not sure what I would expect in this case. -
08:11 PM Feature #13208 (Closed): Vector.zero(n) and vector.zero?
-
08:11 PM Feature #13208: Vector.zero(n) and vector.zero?
- Thanks for the patch.
Committed.
PS: I allowed `Vector.zero(0)`. - 08:09 PM Revision 666df145 (git): * lib/matrix.rb: Add Vector.zero and Vector#zero?
- Patch by Chia-sheng Chen [#13208]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57976 b2dd03c8-39d4-4d8f-98ff-82... -
07:40 PM Feature #13166: Feature Request: Byte Arrays for Ruby 3
- My original use case was for creating an array of data that essentially
contained ``1|0`` data to represent ``true|f... -
06:50 PM Misc #13316 (Third Party's Issue): gem startup and Path order OS X
- I'm having great trouble getting gem to reliably start on OS X 10.11.6. This has only started to happen recently. The...
- 03:14 PM Revision 31e74d51 (git): * 2017-03-15
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:14 PM Revision a4d6fb55 (git): Stop a global server of Rinda test
- This server seemed to cause "leaked file descriptor" warnings.
Moved it into the setup/teardown framework.
git-svn-i... -
02:46 PM Revision 871d497c (git): vm_insnhelper.c: undef BUILTIN_CLASS_P too
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:58 PM Bug #13223: `File.join` will segv if File::SEPARATOR and File::Separator are set.
- shyouhei (Shyouhei Urabe) wrote:
> Nobu already made changes but, yes we looked at this issue in today's developer m... -
01:35 PM Bug #13150: TestMarshal failures on FreeBSD with gcc7 because of GC
- normalperson (Eric Wong) wrote:
> Ah, thanks. I forgot this :x I saw you already made r57634.
> Since callcc is o... -
12:55 PM Feature #13314: dig=
- you can do that, as example
~~~ ruby
a = {key1: { key2: { key3: { key4: '4' }}}};
a.dig(:key1, :key2, :key3)[:k... -
06:50 AM Feature #13314: dig=
- Assignment to method call has been a challenge in the last couple of years, but not possible yet,
-
06:40 AM Feature #13314: dig=
- Was this syntactically not allowed? If so, sorry.
-
06:38 AM Feature #13314 (Open): dig=
- We have `Hash#dig`, and when we want to assign a key-value at a deep level, it is tempting to do:
```ruby
hash.di... -
12:53 PM Bug #13198 (Closed): Tempfile#size is nil when nothing is written, expected 0
- Applied in changeset r57972.
----------
Fix bug of Tempfile#size if nothing is written [Bug #13198]
* lib/tempfile.... -
12:53 PM Revision 279d31f1 (git): Fix bug of Tempfile#size if nothing is written [Bug #13198]
- * lib/tempfile.rb (Tempfile#size): Fix its behavior when nothing
is written. Tempfile#size should return 0 in this ... -
12:26 PM Bug #13305: Occasional segfaults after defining methods while running coverage
- I think I could fix the issue. Nikita, thank you for the very useful report!
-
11:40 AM Bug #13305 (Closed): Occasional segfaults after defining methods while running coverage
- Applied in changeset r57971.
----------
Fix a consistency bug of ISEQ_COVERAGE [Bug #13305]
There is an invariant t... -
11:39 AM Revision 3c96f9c7 (git): Fix a consistency bug of ISEQ_COVERAGE [Bug #13305]
- There is an invariant that ISEQ_COVERAGE(iseq) must be Qnil if and only
if option->coverage_enabled is false. This i... -
10:34 AM Bug #13307 (Feedback): Changing scheme from http to https for the URI does not change the port number
-
08:22 AM Bug #13315 (Closed): Single "%" at the end of `printf` format string appears in the result
- Is this intentional?
```ruby
printf("%") #=> "%"
```
`printf` in glibc does print nothing, gcc warns though.
... -
06:52 AM Revision 3651c0aa (git): Fiber also has same issue. [Bug #13313]
- * thread.c (rb_vm_proc_local_ep): added.
* cont.c (rb_fiber_start): use rb_vm_proc_local_ep().
git-svn-id: svn+ssh... -
05:54 AM Bug #13313 (Closed): Segmentation fault when calling Thread.new with Symbol proc shorthand
- Applied in changeset r57969.
----------
thread.c: Thread.start with Symbol
* thread.c (thread_do_start): fix segfau... -
05:54 AM Revision 1943242a (git): thread.c: Thread.start with Symbol
- * thread.c (thread_do_start): fix segfault at start with Symbol.
proc created by Symbol#to_proc does not have envir... -
05:54 AM Revision c3f92cf2 (git): thread.c: thread_do_start
- * thread.c (thread_do_start): extract from a macro in
thread_start_func_2 for debugger.
git-svn-id: svn+ssh://ci.r... -
04:16 AM Revision 04eb3851 (git): envutil.rb: basename for diagnostic_reports
- * test/lib/envutil.rb (EnvUtil.diagnostic_reports): diagnostic
report file uses base name only. [ci skip]
git-svn... -
04:03 AM Revision a7d6470f (git): vm_core.h: assertions for Proc
- * vm_core.h (vm_proc_block): assert before accessing.
* vm_core.h (vm_proc_iseq): remove duplicate assertion.
git-s... -
03:42 AM Revision 9fa56026 (git): string.c: use rb_check_string_type
- * string.c (rb_str_cmp_m): use rb_check_string_type for check and
conversion, instead of calling the conversion met... -
03:42 AM Feature #13263: Add companion integer nth-root method to recent Integer#isqrt
- Using a 1-bit greater initial estimate than for **bbm** makes Newton's nth-root implementation
significantly faster ... -
01:09 AM Bug #13280: net/ftp: Putbinaryfile (on Windows) requires blocksize equal to file size
- I couldn't reproduce the problem in any of 2.2.4p230 (x86_64-linux), 2.3.3p222 (x86_64-linux),
2.4.0p0 (x86_64-linux...
Also available in: Atom