Activity
From 02/23/2015 to 03/01/2015
03/01/2015
-
09:05 PM Bug #10923: Bug in io/wait/wait.c
- Fixed in r49797
-
02:24 PM Bug #10923 (Closed): Bug in io/wait/wait.c
- https://github.com/ruby/ruby/blob/28b9f11d5a4b878adb50a3e5472ceea8c462ed4a/ext/io/wait/wait.c#L64-L65
return value should be wrapped by INT2FIX - 09:03 PM Revision 07c87adf (git): * 2015-03-02
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:03 PM Revision 26e1ebdc (git): io/wait: fix return value for buffered read
- * ext/io/wait/wait.c (io_nread): wrap return value with INT2FIX
Thanks to Yura Sokolov <[email protected]>
[ruby-core:68369] [Bug#10923]
* test/io/wait/test_io_wait.rb (test_nread_buffered):
fix broken test
git-svn-id: svn+ss... -
08:05 PM Bug #10538: Error when trying to update gem rake
- I got exactly the same error when trying also to updaet rake ge.
* Reproduced on Windows 7 Home edition
* Ruby version: **ruby 2.1.5p273** (2014-11-13 revision 48405) [i386-mingw32]
* rake version: **10.1.0**
No proxy, nothing 'unu... -
12:27 PM Revision 40564c1e (git): thread_pthread.c: use rb_pid_t
- * thread_pthread.c (timer_thread_pipe.owner_process): process ID
should be pid_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:21 AM Revision e961fcd5 (git): envutil.rb: signal argument
- * test/lib/envutil.rb (invoke_ruby): add optional keyword argument
of signal to be sent to hung-up process.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:21 AM Revision ee4cb17b (git): configure.in: restore convertible type
- * configure.in (RUBY_REPLACE_TYPE): restore convertible type from
cached variable, so that configured results will be stable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:10 AM Revision ea2d631a (git): configure.in: check broken memmem before earlier
- * configure.in (rb_cv_broken_memmem): check before adding the
result HAVE_MEMMEM macro to confdefs.h, so that configured
results will be stable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49793 b2dd03c8-39d4-4d8f-98ff-823fe69... -
06:12 AM Feature #2080: Proc#to_source, Method#to_source
- any hope to finally see this?
-
06:03 AM Bug #10922 (Closed): TracePoint#binding may return nil in Ruby 2.2
- ~~~
$ miniruby -ve '
TracePoint.new(:c_return) do |tp|
p [tp.method_id, tp.binding]
end.enable
Thread.new {}.join
'
ruby 2.2.1p85 (2015-02-26 revision 49761) [x86_64-linux]
[:enable, #<Binding:0x00555555a6ed48>]
[:initialize... -
05:51 AM Bug #10921 (Rejected): gems/json-1.8.2/lib/json/ext/parser.bundle: [BUG] Segmentation fault
- You mix 2.2.0 and 2.0.0.
-
03:36 AM Bug #10921 (Rejected): gems/json-1.8.2/lib/json/ext/parser.bundle: [BUG] Segmentation fault
- ~~~
~/.rvm/gems/ruby-2.2.0/gems/json-1.8.2/lib/json/ext/parser.bundle: [BUG] Segmentation fault
ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin14]
~~~
-
05:45 AM Bug #10920: uninitialized constant LoadErroe
- r49017 fixed it.
-
03:28 AM Bug #10920 (Rejected): uninitialized constant LoadErroe
- I can see the following error during installation of stable snapshot
`./tool/rbinstall.rb:714:in `rescue in block in <main>': uninitialized constant LoadErroe (NameError)
from ./tool/rbinstall.rb:712:in `block in <main>'
... -
02:52 AM Feature #10548: remove callcc (Callcc is now going obsoleted. Please use Fiber.)
- I agree with Yusuke.
I'd be sorry to see it go - it does some neat tricks that are a lot harder to pull off with Fibers.
Here for instance is a PoC reversible debugger: https://gist.github.com/stephenprater/ca312d24578455f36550
... -
02:18 AM Bug #10918 (Closed): ObjectSpace._id2ref returns internal object
- Applied in changeset r49792.
----------
gc.c: hide internal objects
* gc.c (id2ref): prohibit from accessing internal objects.
[ruby-core:68348] [Bug #10918] -
02:18 AM Revision 9334597b (git): gc.c: hide internal objects
- * gc.c (id2ref): prohibit from accessing internal objects.
[ruby-core:68348] [Bug #10918]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:17 AM Revision cb0cfbb4 (git): mkconfig.rb: no build-time variables
- * tool/mkconfig.rb: exclude unnecessary build-time only variables,
various ruby commands, installation targets, and dtrace stuffs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:41 AM Misc #10809 (Closed): [PATCH 2/2] Add tests for math.c related to [Feature 10785], [Feature 10800]
-
12:37 AM Bug #10908 (Rejected): Addrinfo.new appears to ignore the afamily argument when using a String for sockaddr
- afamily returns the family in sockaddr.
2nd argument for Addrinfo.new doesn't affect afamily.
pfamily (and 2nd argument for Addrinfo.new) corresponds to ai_family field of struct addrinfo and will be used for 1st argument of socket()... -
12:33 AM Misc #10907 (Rejected): Documentation of Addrinfo.new suggests default family of PF_UNSPEC while in practise it appears to be AF_INET
- Use pfamily as you noticed.
pfamily (and 2nd argument for Addrinfo.new) corresponds to ai_family field of struct addrinfo and will be used for 1st argument of socket().
afamily (and first 1 or 2 bytes in 1st argument for Addrinfo.n... -
12:13 AM Bug #10904 (Closed): Time.strptime with %s.%N format should not ignore sec_fraction
- Applied in changeset r49788.
----------
* lib/time.rb (strptime): Support %s.%N.
[ruby-core:68301] [Bug #10904] Patch by Sadayuki Furuhashi. -
12:13 AM Revision a12a4531 (git): add tests for strptime("%s.%N").
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:13 AM Revision e3a4e121 (git): * 2015-03-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:12 AM Revision 9ee9812d (git): * lib/time.rb (strptime): Support %s.%N.
- [ruby-core:68301] [Bug #10904] Patch by Sadayuki Furuhashi.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
02/28/2015
-
09:49 PM Bug #10902: require("enumerator") scans LOAD_PATH 2x on every invocation
- Having a hard time coming up with a clean patch here. The following works but it's pretty hacky.
~~~ diff
diff --git a/load.c b/load.c
index fa225fa..68d15e7 100644
--- a/load.c
+++ b/load.c
@@ -952,6 +952,9 @@ rb_require_safe(VA... -
06:18 PM Bug #10712: [PATCH] lib/resolv.rb: consider ENETUNREACH as ResolvTimeout
- Isn't that what the -l switch is for?
-
04:16 PM Bug #10712: [PATCH] lib/resolv.rb: consider ENETUNREACH as ResolvTimeout
- Backported into `ruby_2_1` at r49785.
-
06:14 PM Bug #10731: Segmentation fault when create alias to refined method
- Backported into `ruby_2_1` branch at r49787.
-
06:13 PM Revision f50f7025 (git): merge revision(s) r49221: [Backport #10731]
- * vm_method.c (rb_alias): raise a NameError when creating alias to
a refined method if the original method of the refined method is
not defined. [ruby-core:67523] [Bug #10731]
git-svn-id: svn+ssh://ci.ruby-lang.org... -
05:44 PM Bug #10919 (Third Party's Issue): [gem install] installs multipe platforms
- Natively build a gem - just an example mysql2 on windows x64-mingw32
I could only get the gem to compile with devkit when --platform=ruby is specified - so my understanding is that all devkit compiled gems are platform ruby, even if dev... -
05:29 PM Bug #10706: Segmentation fault when change visibility of refined new method
- Backported into `ruby_2_1` at r49786.
-
05:28 PM Revision c839def7 (git): merge revision(s) r49182,r49183: [Backport #10706]
- vm_method.c: fix change refined new method visibility
* vm_method.c (rb_export_method): bail out if the original method
is undefined when the method is refined.
[ruby-core:67387] [Bug #10706]
git-svn-id: svn... -
05:02 PM Bug #10878: require: cannot load such file
- this issue was resolved with #10876
ruby 2.2.1p85 (2015-02-26 revision 49761) [x64-mingw32] -
04:15 PM Revision 8e73157d (git): merge revision(s) r49175: [Backport #10712]
- * lib/resolv.rb: consider ENETUNREACH as ResolvTimeout
[ruby-core:67411] [Bug #10712]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@49785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:03 PM Bug #10692: there is no response body with HEAD request (fixed at r49105)
- Backported into `ruby_2_1` at r49784.
-
04:03 PM Revision 4ad3a5c3 (git): merge revision(s) r49104,r49105: [Backport #10692]
- * test/net/http/test_http.rb (_test_send_request__HEAD): Added
failing test for send_request with HEAD method.
* lib/net/http.rb (Net::HTTP#send_request): there is no response body
with HEAD request. Patch by... -
04:00 PM Bug #10668: Fix description for Zlib.crc32
- Backported into `ruby_2_1` at r49783.
-
03:59 PM Revision 089dbf1e (git): merge revision(s) r49202: [Backport #10668]
- * ext/zlib/zlib.c: fix document of method signatures.
[Bug #10668][ruby-core:67186][ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@49783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:51 PM Bug #10918 (Closed): ObjectSpace._id2ref returns internal object
- Since r43539 ObjectSpace._id2ref doesn't check if the object is internal or not.
The following code gives a segmentation fault:
~~~
(ObjectSpace.each_object.first.__id__..1.0/0).each do |i|
t = ObjectSpace._id2ref(i) rescue nex... -
09:09 AM Revision fe6cf485 (git): enum.c: Fixnum only
- * enum.c (limit_by_enum_size, enum_size_over_p): check only
against Fixnum size.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:18 AM Revision 98273af3 (git): enum.c: limit size
- * enum.c (enum_each_slice, enum_each_cons): limit elements size by
the enumerator size. suggested by Hans Mackowiak <hanmac AT
gmx.de> at [ruby-core:68335]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49781 b2dd03c8-39d4-4d8f-... -
06:46 AM Bug #10906: Problem building on Solaris 10 - symbol rb_infinity not found
- I didn't send any options to configure.
>/usr/ccs/bin/nm numeric.o | grep infinity
> ...
[1620] | 0| 0|NOTY |GLOB |0 |UNDEF |rb_infinity
>env
LDFLAGS=-R/usr/local/lib -R/opt/csw/lib -R/opt/csw/gcc4/lib
MANPAT... -
06:44 AM Revision dbffdff1 (git): vm_dump.c: no new strings in signal context
- * vm_dump.c (rb_vm_bugreport): get rid of making new strings
inside signal context.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:42 AM Revision badb4de7 (git): variable.c: rb_search_class_path
- * variable.c (rb_tmp_class_path): defer making temporary class
path string.
* variable.c (rb_search_class_path): search class path or return
Qnil or Qfalse if unnamed, not creating a temporary path.
git-svn-id: svn+ssh://ci.ruby-lan... -
06:02 AM Revision 1ef1a0c6 (git): variable.c: preserve name encoding of subclass
- * variable.c (rb_tmp_class_path): preserve name encoding of an
anonymous instance of module/class subclass.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:14 AM Bug #10850: BigDecimal division incorrect
- Thanks for the answer Shugo,
however I am not sure if that is easily possible for me in that case. I use BigDecimal as a fiedl type in a Rails application and don't see how I can ues Rational here :-(
Any suggestions or tips or refe... -
12:47 AM Bug #10913 (Third Party's Issue): Enum#each_slice is crashing with Bignum as an argument
- It reproduces with just:
~~~ruby
Array.new(50000000000000000)
~~~
and
~~~ruby
"x"*50000000000000000
~~~
The failure itself is expected, but OSX's `malloc` complains.
Seems there is no hook to control it.
02/27/2015
-
11:33 PM
Bug #9144 (Closed): ptys on AIX version 4 through 7
- Applied in changeset r49776.
----------
* ext/pty/pty.c: AIX supports autopush. Patch by Perry Smith [ruby-core:58539] [Bug #9144] - 11:32 PM Revision 0066608c (git): * 2015-02-28
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:32 PM Revision 87ac2159 (git): * ext/pty/pty.c: AIX supports autopush. Patch by Perry Smith [ruby-core:58539] [Bug #9144]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:19 PM Feature #10917 (Closed): Add GC.stat[:total_time] when GC profiling enabled
- This patch includes a `:total_time` value in `GC.stat` as a `Fixnum` of microseconds equivalent to `GC::Profiler.total_time`. A non-zero value is only provided if GC profiling is enabled.
This avoids problems with `GC::Profiler`'s API... -
08:44 PM Bug #10916 (Third Party's Issue): What the Ruby? SegFault?
- Been using WPScan for quite a while, but now this happens ... I've got no idea "what the ruby" this is.
/usr/local/rvm/gems/ruby-2.1.5@wpscan/gems/ffi-1.9.6/lib/ffi/types.rb:67: [BUG] Segmentation fault at 0x00000000000008
ruby 2.1.5... -
06:21 PM Feature #10844: TracePoint API needs an event to inform about creating/removing a new frame without calling something
- I'm not able to try this right now but I'm pretty sure that just works in byebug... I'll confirm as soon as possible.
-
05:58 PM Bug #10914: Always reproducible crash on FreeBSD with unicorn and 2.2.0p0 (2.1.5p273 too)
- [email protected] wrote:
> /usr/local/lib/libruby22.so.22(rb_print_backtrace+0x19) [0x8009fe5d7] vm_dump.c:693
> /usr/local/lib/libruby22.so.22(rb_vm_bugreport+0x9b) [0x8009feb49] vm_dump.c:971
> /usr/local/lib/libruby22.so.22(rb_bug_... -
03:04 PM Bug #10914 (Rejected): Always reproducible crash on FreeBSD with unicorn and 2.2.0p0 (2.1.5p273 too)
- I get this segmentation when unicorn sends QUIT signal for the old process. The crash is reproduced with FreeBSD 10.0 and gcc 4.8.5\clang.
~~~
E, [2015-02-27T22:48:23.320810 #60822] ERROR -- : reaped #<Process::Status: pid 60829 SIGA... -
05:22 PM Bug #10550: Resolv::DNS.getaddresses returns no IPs when nameserver returns in differing case than query
- Backported into `ruby_2_1` branch at r49775.
-
05:21 PM Revision 02dcfb78 (git): merge revision(s) r49071,r49072,r49073,r49078: [Backport #10550]
- * lib/resolv.rb (Resolv::DNS::Name): names with different dots
should be different.
* lib/resolv.rb (Resolv::DNS::Name#==): DNS is case-insensitive, so the
comparison should be case-insensitive as well.
... -
04:47 PM Bug #10915: Error in FTPTest#test_abort and test_status on Solaris
- Naohisa Goto wrote:
> Solaris, Linux にて動作を確認しました。
> ...
そこはまあ、入れてみればわかるのでいいんじゃないかと。
(ちなみにこの変更自体はWindowsでもたぶん問題はありません。) -
03:39 PM Bug #10915 (Closed): Error in FTPTest#test_abort and test_status on Solaris
- Solaris 10 にて、make test-all で以下のエラーが出ます。
(r49732にて確認)
~~~
1) Error:
FTPTest#test_abort:
Net::ReadTimeout: Net::ReadTimeout
/XXXXXXXXXX/lib/net/protocol.rb:158:in `rescue in rbuf_fill'
/XXXXXXXXXX/lib/net/protocol.rb:15... -
01:00 PM Revision d9c32d62 (git): * lib/rubygems: Update to RubyGems 2.4.6 and HEAD(800f2e6).
- Fixed #1159, #1171, #1173 on rubygems/rubygems
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:46 PM Bug #10913: Enum#each_slice is crashing with Bignum as an argument
- [shreyas@so (master)]$ rvm list
rvm rubies
=> ruby-2.0.0-p598 [ x86_64 ]
ruby-2.1.0 [ x86_64 ]
* ruby-2.1.2 [ x86_64 ]
ruby-2.1.4 [ x86_64 ]
ruby-2.1.5 [ x86_64 ]
ruby-2.2.0... -
08:36 AM Bug #10913: Enum#each_slice is crashing with Bignum as an argument
- i cant repoduce it with my ruby versions 2.1.2 and ruby 2.3.0dev
~~~
[1] pry(main)> [1,2,3].each_slice(500000000000000000).to_a
NoMemoryError: failed to allocate memory
from (pry):1:in `each_slice'
[2] pry(main)> [1,2,3].each_slic... -
08:08 AM Bug #10913 (Third Party's Issue): Enum#each_slice is crashing with Bignum as an argument
- ~~~
[shreyas@~ (master)]$ rvm use 2.1.2
Using /Users/shreyas/.rvm/gems/ruby-2.1.2
[shreyas@~ (master)]$ pry
`[1] pry(main)> [1,2,3].each_slice(50000000000000000).to_a
pry(948,0x7fff73abb180) malloc: *** mmap(size=400000000000000000)... -
11:55 AM Revision b89e8943 (git): * lib/rake: Update to rake (9237e74), typo fix and remove needless
- private syntax.
* test/rake: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:06 AM Misc #10907: Documentation of Addrinfo.new suggests default family of PF_UNSPEC while in practise it appears to be AF_INET
- It seems I am confusing `afamily` with `pfamily`. The `pfamily` indeed returns `Socket::PF_UNSPEC` by default.
-
10:05 AM Bug #10908: Addrinfo.new appears to ignore the afamily argument when using a String for sockaddr
- @Michael
Hm, good catch, I hadn't thought of that. In that case it indeed looks like I
was misunderstanding the documentation. I'll work on the specs to
confirm or rule this out. -
08:10 AM Revision ca6b1740 (git): * vm_core.h: define vm_svar_index.
- * vm_insnhelper.c, vm.c, compile.c: use vm_svar_index names.
* iseq.h: remove DEFAULT_SPECIAL_VAR_COUNT.
use VM_SVAR_FLIPFLOP_START instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:23 AM Revision 689df4ae (git): compile.c: debug prints to stderr
- * compile.c: send all debug prints to stderr, as ruby_debug_printf
does.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:02 AM Revision 52d810e2 (git): compile.c: fix function name
- * compile.c (APPEND_ELEM): fix function name so that the first
argument will be inserted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:57 AM Revision d8abb9da (git): io.c: wipe away ioctl buffer
- * io.c (setup_narg): wipe away expanded part of buffer to get rid
of revealing uncleaned data. reported by Dongkwan Kim <dkay AT
kaist.ac.kr>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49768 b2dd03c8-39d4-4d8f-98ff-823fe69b... - 03:55 AM Revision 6bb470cf (git): * 2015-02-27
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:55 AM Revision 194c3907 (git): thread.c: refine enums
- * ext/thread/thread.c: remove unnecessary enum values and add end
of enumerations.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:54 AM Revision b84e28d1 (git): io.c: discard buffer always
- * io.c (copy_stream_fallback_body): discard buffer always before
exit or exception.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:23 AM Feature #10912 (Closed): Add method(s) to IPAddr for determining whether an address is link local
- I was surprised to find that IPAddr has no methods for determining whether an address is a link local address (ie RFC1918 or RFC5735). This would make it easy to blacklist local IP addresses from services.
02/26/2015
-
11:36 PM Feature #10911 (Closed): IPAddr.new should ignore zone identifiers
- Link local IPv6 addresses may have a zone identifier suffix:
fe80::1%lo0
IPAddr.new currently does not ignore the zone identifier and raises IPAddr::InvalidAddressError. -
10:54 PM Bug #10910 (Closed): NoMethodError when opening SSL connection with OpenSSL::SSL::VERIFY_PEER set and anonymous ciphers allowed
- When establishing an SSL connection with peer verification enabled, if the list of allowed ciphers includes an anonymous cipher, and negotiation with the server results in that cipher being used, a NoMethodError is raised with a stack tr...
-
03:56 PM Feature #10882: Provide Levenshtein distance implementation as part of stdlib
- I would like to see this too - Levensthein distance is used a lot in Bioinformatics to calculate the edit distance between two sequences (in ruby, thus, two strings) - three operations are Edit, Replace, Delete (+1, -1, change informatio...
-
02:42 PM Revision 19711c78 (git): io.c: redulce RSTRING_PTR and RSTRING_LEN
- * io.c: replace repeating RSTRING_PTR and RSTRING_LEN with local
variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:42 PM Revision e1aba5bb (git): test_io.rb: separate platform-specific tests
- * test/ruby/test_io.rb: separate platform-specific tests at load
time instead of runtime.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:42 PM Revision 727f5251 (git): runruby.rb: use File::PATH_SEPARATOR
- * tool/runruby.rb: use File::PATH_SEPARATOR as
DYLD_INSERT_LIBRARIES is colon-separated list.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:55 PM Feature #10844: TracePoint API needs an event to inform about creating/removing a new frame without calling something
- David Rodríguez wrote:
> Both.
Ok, so let's start with byebug. When it is stopped inside rescue clause (as far as I understand) it doesn't know about the frame "rescue" added because there is no event about it. Am I right? If so h... -
12:28 PM Feature #10844: TracePoint API needs an event to inform about creating/removing a new frame without calling something
- Both.
-
09:56 AM Feature #10844: TracePoint API needs an event to inform about creating/removing a new frame without calling something
- David Rodríguez wrote:
> After rereading the whole thing, I'm still not clear about the issue...
What exactly is unclear? Why I suggest add a new event or when byebug could miss a frame? -
09:36 AM Feature #10844: TracePoint API needs an event to inform about creating/removing a new frame without calling something
- After rereading the whole thing, I'm still not clear about the issue...
-
03:43 AM Feature #10844: TracePoint API needs an event to inform about creating/removing a new frame without calling something
- David Rodríguez wrote:
> > Yes, byebug doesn't use real stack size but it means it does not provide complete information about the stack :(
> ...
e.g. byebug is unable to detect additional frame added by rescue thus it will not be able... -
01:06 PM Bug #10908: Addrinfo.new appears to ignore the afamily argument when using a String for sockaddr
- Yorick Peterse wrote:
> When creating a new `Addrinfo` instance the `new` class method appears to ignore
> ...
I have confirmed this on ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-darwin13.0]
After some investigation, the afam... -
11:36 AM Bug #10908 (Rejected): Addrinfo.new appears to ignore the afamily argument when using a String for sockaddr
- When creating a new `Addrinfo` instance the `new` class method appears to ignore
the 2nd (afamily) argument and always sets it to `AF_INET`. Some examples:
Socket::AF_INET # => 2
Addrinfo.new(Socket.sockaddr_in(80, 'localh... -
12:59 PM Feature #10909: [PATCH 2/2] math.c: Direct casting from Rational to double.
- I can find this proposal makes `Math` faster more than 2 times at most.
$ cat bench.rb
```ruby
require 'benchmark'
puts Benchmark.measure { 10_000_000.times { Math.cos 1 } }
puts Benchmark.measure { 10_000_000.... -
12:42 PM Feature #10909 (Closed): [PATCH 2/2] math.c: Direct casting from Rational to double.
- Hi, this proposal is continued from [Feature 10800](https://bugs.ruby-lang.org/issues/10800) and [Feature 10785](https://bugs.ruby-lang.org/issues/10785)
I'd like to do cast from Rational to double unless Rational#to_f is redefined.
Al... -
12:08 PM Bug #10906 (Feedback): Problem building on Solaris 10 - symbol rb_infinity not found
- Could you please show configure options and environment variables,
and execute the following commands and show results?
% /usr/ccs/bin/nm numeric.o | grep infinity
% /usr/ccs/bin/nm .ext/i386-solaris2.10/date_core.so | grep infini... -
09:49 AM Bug #10906 (Closed): Problem building on Solaris 10 - symbol rb_infinity not found
- Hi,
Solaris 10
gcc 4.8
ruby 2.2.0 current stable
I did configure/make, and it works until it tries to generate rdoc:
Generating RDoc documentation
/export/home/djberge/Downloads/Ruby/ruby-2.2.0/.ext/common/date.rb... -
11:28 AM Misc #10907: Documentation of Addrinfo.new suggests default family of PF_UNSPEC while in practise it appears to be AF_INET
- By the way, this was tested using `ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-linux]` on Arch Linux (`Linux yorickpeterse-macbook-olery 3.17.6-1-ARCH #1 SMP PREEMPT Sun Dec 7 23:43:32 UTC 2014 x86_64 GNU/Linux`).
-
11:27 AM Misc #10907 (Rejected): Documentation of Addrinfo.new suggests default family of PF_UNSPEC while in practise it appears to be AF_INET
- The documentation of Addrinfo.new states the following:
> family is specified as an integer to specify the protocol family such as
> ...
However, the behaviour contradicts this:
Addrinfo.new(Socket.sockaddr_in(80, 'localhost')... -
08:23 AM Bug #10876: Win32API.new fails when an Array is given for the import argument
- ruby_2_2 r49761 merged revision(s) 49750.
-
08:23 AM Revision 35f8beef (git): merge revision(s) 49750: [Backport #10876]
- * ext/win32/Win32API.rb (initialize): accept both a string and an array
for the arguments of the imported function.
reported by Aaron Stone [ruby-core:68208] [Bug #10876] [Fixes GH-835]
git-svn-id: svn+ssh://ci.ruby... -
08:01 AM Revision 68c062b1 (git): configure.in: PRELOADENV
- * configure.in (PRELOADENV): platform specific environment to
pre-load the given shared libraries.
* tool/runruby.rb: use config['PRELOADENV'] instead of hardcoded
LD_PRELOAD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49760... -
01:07 AM Bug #10904: Time.strptime with %s.%N format should not ignore sec_fraction
- I attached an updated patch (strptime-s-n-format-sec-fraction-fix.2.patch) that invert sign of sec_fraction if seconds is negative.
This is the new behavior:
```
TZ=GMT ruby -rtime -e 'p Time.strptime("-3.1", "%s.%N").iso8601(10)'
... -
12:48 AM Revision fefdad10 (git): configure.in: check USDT headers
- * configure.in (RUBY_DTRACE_AVAILABLE): try compile to see if
headers are available too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
02/25/2015
-
11:36 PM Feature #10844: TracePoint API needs an event to inform about creating/removing a new frame without calling something
- Sure, most of the issues here were related to unbalanced counts of events: https://github.com/deivid-rodriguez/byebug/issues/16#issuecomment-47673108 All of them are already fixed. The only bug yet to be fixed related to this would be th...
-
11:02 PM Feature #8544: OpenURI should open 'file://' URIs
- Here's a naive implementation of support for "file:"
require 'open-uri'
require 'uri'
module URI
class File < Generic
def open(*args, &block)
::File.open(self.path, &block)
end
... -
09:49 PM Bug #10904: Time.strptime with %s.%N format should not ignore sec_fraction
- It seems your patch doesn't consider negative seconds
```
% TZ=GMT ./ruby -Ilib -rtime -e 'p Time.strptime("-3.1", "%s.%N").iso8601(10)'
"1969-12-31T23:59:57.1000000000+00:00"
```
-
06:01 AM Bug #10904 (Closed): Time.strptime with %s.%N format should not ignore sec_fraction
- `Time.strptime` with "%s.%N" format ignores milliseconds, microseconds and nanoseconds.
For example, `Time.strptime("0.123", "%s.%N").tv_usec` returns 0.
Here is the script to reproduce:
```
require 'time'
# sec (this is ok)
t1... -
07:56 PM Feature #10600: [PATCH] Queue#close
- Here is the full patch including tests and updated rdoc comments. diffed from current trunk 25f99aef.
-
07:01 PM Bug #10876: Win32API.new fails when an Array is given for the import argument
- Thank you for the fix! This must still be backported to ruby_2_2 branch!
-
01:08 PM Bug #10876 (Closed): Win32API.new fails when an Array is given for the import argument
- Applied in changeset r49750.
----------
* ext/win32/Win32API.rb (initialize): accept both a string and an array
for the arguments of the imported function.
reported by Aaron Stone [ruby-core:68208] [Bug #10876] [Fixes GH-835] -
05:19 PM Revision 25f99aef (git): fake.rb: rubyarchhdrdir for rubyspec
- * common.mk (test-rubyspec): use fake script to set header
directories.
* template/fake.rb.in (RUBYOPT): set -r option to propagate to
forked processes.
* tool/fake.rb (prehook): set rubyarchhdrdir too.
git-svn-id: svn+ssh://ci.ru... -
05:05 PM Revision 41b2f1ad (git): complex.c: sign of zeros
- * complex.c (rb_nucomp_mul): preserve sign of zeros without NaN by
regularized values.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:20 PM Bug #10837: spatting a single element array produces an array instead of a single value for return and next
- Nobuyoshi Nakada wrote:
> It's similar to `return *[1, 2]`.
Please clarify your position, is this about preserving compatibility, or do you really disagree that conceptually an rvalue splat should eliminate the array? - 03:04 PM Revision 694d6f27 (git): * 2015-02-26
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:04 PM Revision 8b89b2c6 (git): runruby.rb: update pattern
- * tool/runruby.rb: no space may be after RUBY_VERSION.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:16 PM Revision 909c4c0f (git): complex.c: specialize
- * complex.c (rb_nucomp_mul): specialize real numbers and purely
imaginary numbers, and get rid of multiplication by zero.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:25 PM Revision a96c88ec (git): * spec/default.mspec: use default configuration file name.
- https://github.com/ruby/rubyspec/commit/cc69f337b06362e5607ffa3e3ad40ef7494960cf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:22 PM Revision 8e183909 (git): * spec/default.mspec: remove specific version number.
- https://github.com/ruby/rubyspec/commit/7a909e925c1baa9c700bd44af9241aef6e596714
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:08 PM Revision 55d74913 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:08 PM Revision dad59fcd (git): * ext/win32/Win32API.rb (initialize): accept both a string and an array
- for the arguments of the imported function.
reported by Aaron Stone [ruby-core:68208] [Bug #10876] [Fixes GH-835]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:25 AM Misc #10905 (Closed): Additional documentation for Time#getlocal
- Patch to add examples of valid utc_offset formats.
-
09:17 AM
Bug #10866 (Closed): A signal handler in signal.c can corrupt the value of errno.
- Applied in changeset r49746.
----------
signal.c: preserve errno
* signal.c (sighandler): preserve errno
Patch by Steven Stewart-Gallus <[email protected]>
[ruby-core:68172] [Bug #10866] -
09:17 AM Revision 25edb07c (git): mkconfig.rb: delete DESTDIR
- * tool/mkconfig.rb (RbConfig): delete default DESTDIR set by
--with-destdir.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:17 AM Revision 7722b3b6 (git): runruby.rb: follow r49740
- * tool/runruby.rb: follow the change of RUBY_VERSION check in
rbconfig by r49740.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 09:17 AM Revision be5b7f61 (git): signal.c: preserve errno
- * signal.c (sighandler): preserve errno
Patch by Steven Stewart-Gallus <[email protected]>
[ruby-core:68172] [Bug #10866]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 08:31 AM Revision 967f5611 (git): * class.c (clone_method): fixed missing assignment introduced by
- previous commit.
* vm_insnhelper.c (rb_vm_rewrite_cref_stack): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@49745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:59 AM Revision f4726dcd (git): dir.c: same encoding to the pattern
- * dir.c (push_pattern, push_glob): make globbed file names same
encoding to the given pattern.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:48 AM Revision ca3f71b8 (git): complex.c: move optimization
- * complex.c (f_complex_polar): move optimization for orthogonal
cases from rb_nucomp_mul.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:39 AM Revision 244260d6 (git): bump version to 2.2.1
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:36 AM Revision e04b5d25 (git): merge revision(s) 49740:
- * tool/merger.rb: support 2.1+ versioning scheme.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:35 AM Revision 7d248667 (git): * tool/merger.rb: support 2.1+ versioning scheme.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:27 AM Bug #10885: Segmentation fault when calling refined method in duplicate module
- ruby_2_0_0 r49739 merged revision(s) 49685,49687.
note: omitted the test because `Module#using` is not available on 2.0.0. - 06:26 AM Revision 852d56ff (git): merge revision(s) 49685,49687: [Backport #10885]
- * vm_insnhelper.c (rb_vm_rewrite_cref_stack): copy nd_refinements
of orignal crefs. It fixes segmentation fault when calling
refined method in duplicate module. [ruby-dev:48878] [Bug #10885]
* vm_core.h, clas... -
06:16 AM Bug #9790: Zlib::GzipReader only decompressed the first of concatenated files
- Aleksandar Kostadinov wrote:
> Because gzip format allows multiple entries with filename I'd suggest to support a method like Java's ZipInputStream `getNextEntry()` [1]. This way programmer can choose to read everything as one chunk of ... -
06:02 AM Bug #10826: Refinements make instance_methods(false) return methods of superclasses
- ruby_2_0_0 r49738 merged revision(s) 49222,49480,49493.
-
06:01 AM Bug #10765: Module#remove_method remove refined method entry.
- ruby_2_0_0 r49738 merged revision(s) 49222,49480,49493.
- 06:01 AM Revision 94ec0a64 (git): merge revision(s) 49222,49480,49493: [Backport #10765] [Backport #1010826]
- method.h: UNDEFINED_REFINED_METHOD_P
* method.h (UNDEFINED_REFINED_METHOD_P): macro to tell if refined
original method is defined.
* vm_method.c (remove_method): When remove refined
method, raise a NameError ... -
05:42 AM Bug #10753: Refined class returns unexpected value when call public_method_defined?, protected_method_defined?, private_method_defined?
- ruby_2_0_0 r49737 merged revision(s) 49322.
- 05:42 AM Revision 24bb5756 (git): merge revision(s) 49322: [Backport #10753]
- * vm_method.c (check_definition): Module#public_method_defined?,
Module#private_method_defined?, Module#protected_method_defined?
should not use refinements. [ruby-core:67656] [Bug #10753]
git-svn-id: svn+ssh://ci.r... -
05:33 AM Bug #10825: Fix build error in sdbm under Windows
- ruby_2_0_0 r49736 merged revision(s) 49490,49494.
- 05:33 AM Revision 843aadc3 (git): merge revision(s) 49490,49494: [Backport #10825]
- * ext/sdbm/_sdbm.c: include ruby/ruby.h for PRIdPTRDIFF when a
macro `DEBUG` is defined. based on the patch by Owen Rodley in
[ruby-core:67987]. [Bug #10825]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/rub... -
05:27 AM Bug #10821: mkmf.rb: Incorrect have_devel? test depending on run order
- ruby_2_0_0 r49735 merged revision(s) 49482,49487.
note: need to require `envutil` because it's not loaded implicitly ruby 2.0.0. - 05:26 AM Revision 5b37cb25 (git): merge revision(s) 49482,49487: [Backport #10821]
- * lib/mkmf.rb (try_cppflags, try_cflags, try_ldflags): get rid of
interference by modifying global variables in have_devel? method.
[ruby-core:67962] [Bug #10821]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches... -
05:21 AM Bug #10694: Improve Thread#value rubydoc
- ruby_2_0_0 r49734 merged revision(s) 49428.
- 05:20 AM Revision 12ba294b (git): merge revision(s) 49428: [Backport #10694]
- * thread.c: Improve documentation for Thread#value
[Bug #10694][ruby-core:67324][ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@49734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:18 AM Bug #10582: String#chomp strips off more newlines than its documentation states
- ruby_2_0_0 r49733 merged revision(s) 48747.
- 05:18 AM Revision b27d06d3 (git): merge revision(s) 48747: [Backport #10582]
- * string.c: [DOC] Add missing documentation around String#chomp.
Patchby @stderr [ci skip][fix GH-780]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@49733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:44 AM Feature #10903 (Closed): [PATCH] Matrix#zip returns a matrix
- Currently:
> x = Matrix.I 2
> x.zip x
=> [[1, 1], [0, 0], [0, 0], [1, 1]] # It's an array!
With the patch:
> x.zip x
=> Matrix[[1, 1], [0, 0], [0, 0], [1, 1]]
And also:
> x.zip x, x # and so on
=... -
02:25 AM Revision 7b65fb29 (git): complex.c: M_PI in VC
- * complex.c (_USE_MATH_DEFINES): needed for M_PI in Microsoft
Visual C.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:06 AM Bug #10899 (Feedback): ruby 2.2.0 darwin crash (in ripper?)
- Could you compile with debugging options?
And, if possible, can it reproduce with the trunk? -
12:20 AM Revision 5ac58b27 (git): insns.def: reverse
- * insns.def (reverse): add new instruction for massign.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:20 AM Revision 2c8cea84 (git): compile.c: unbalanced massign
- * compile.c (compile_massign): adjust stack for unbalanced massign.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
02/24/2015
-
11:53 PM Bug #10487 (Closed): [PATCH 3/3] More than 3 arguments Passing to CMath.log doesn't make sense.
- Applied in changeset r49729.
----------
* lib/cmath.rb (log): raise ArgumentError when more than 2 arguments
are passed. [ruby-core:66143] [Bug #10487] - 11:53 PM Revision 0c3a0d65 (git): * lib/cmath.rb (log): raise ArgumentError when more than 2 arguments
- are passed. [ruby-core:66143] [Bug #10487]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:39 PM Bug #10902: require("enumerator") scans LOAD_PATH 2x on every invocation
- This gets much worse as $LOAD_PATH grows. For example in our app $LOAD_PATH.size is 351, causing 702 failed open() syscalls per require.
-
10:34 PM Bug #10902 (Closed): require("enumerator") scans LOAD_PATH 2x on every invocation
- On every invocation of `require "enumerator"` (for example during boot when many gems require it), the VM will scan the load path twice: once for enumerator.rb and again for enumerator.so. Of course, no file is found because enumerator i...
- 06:09 PM Revision 0c4631b8 (git): * lib/uri: [doc] Update common.rb [ci-skip] [fixes GH-838]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:08 PM Bug #10901 (Closed): Object#singleton_methods behaves differently depending on whether the singleton_class exists
- ```ruby
class Class1
def self.foo
end
end
c1 = Class1.new
instance_eigen = c1.singleton_class
p instance_eigen.singleton_methods(false)
instance_eigen.singleton_class
p instance_eigen.singleton_methods(false)
```
before ... -
06:05 PM Bug #10896: First example in the documentation for URI::join shows incorrect result
- I submitted a PR (https://github.com/ruby/ruby/pull/838) for this
- 05:24 PM Revision c09c1ccb (git): * 2015-02-25
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:24 PM Revision 17654381 (git): * test/ruby/test_math.rb: Use assert_infinity instead of assert_equal(1.0/0, ...).
- * test/ruby/test_math.rb: Add tests for overriding Integer#to_f.
[ruby-core:67919] [Misc #10809]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:27 PM Feature #10900 (Closed): GzipReader does not define `#external_encoding`
- Hello,
I want to store/load some **yaml** and other text data in gz for space efficiency. I thought it's most efficient to read/write directly to/from a gzip stream. But seems like the **GzipReader** io object does not support everyth... -
04:17 PM Bug #9790: Zlib::GzipReader only decompressed the first of concatenated files
- Because gzip format allows multiple entries with filename I'd suggest to support a method like Java's ZipInputStream `getNextEntry()` [1]. This way programmer can choose to read everything as one chunk of data or multiple chunks each wit...
-
03:38 PM Bug #10899 (Closed): ruby 2.2.0 darwin crash (in ripper?)
- I get a ruby crash when running metric_fu on a ~20k LOC ruby on rails app.
The crash happens in the `rails_best_practices` metric, but only when running multiple metrics (using `metric_fu -r`, which runs all).
It does not happen when r... -
03:32 PM Feature #10844: TracePoint API needs an event to inform about creating/removing a new frame without calling something
- David Rodríguez wrote:
> Both of those issues arised from several bugs in the TracePoint API that led to unbalanced counts of call/return events in some cases. Once all those bugs are fixed, the calculated stack size should be reliable ... -
03:23 PM Feature #10844: TracePoint API needs an event to inform about creating/removing a new frame without calling something
- Both of those issues arised from several bugs in the TracePoint API that led to unbalanced counts of call/return events in some cases. Once all those bugs are fixed, the calculated stack size should be reliable enough so that a single no...
-
03:31 AM Feature #10844: TracePoint API needs an event to inform about creating/removing a new frame without calling something
- David Rodríguez wrote:
> @Oleg What's the problem with counting frame's stack size manually?
First: it introduced one more notion: calculated stack size, which we should use for stepping only.
Second: its calculation is not that sim... -
02:25 PM Bug #10898 (Closed): Cannot compile Ruby 2.2.0 with configure error: something wrong with LDFLAGS=""
- To replicate, download and unzip Ruby-2.2.0
In terminal:
export LIBRARY_PATH=/foo/bar:$LIBRARY_PATH
./configure
Configure will fail with the following error:
configure: error: something wrong with LDFLAGS=""
It appears to be un... -
02:02 PM Revision 6a68a231 (git): common.mk: RUBY_TESTOPTS
- * common.mk (TESTOPTS): initialize by the environment variable
RUBY_TESTOPTS, which is prefixed to get rid of conflict.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:59 PM Revision ed00379c (git): numeric.c: calculate complex numbers
- * numeric.c (fix_plus, fix_mul): calculate complex numbers for
commutative operations.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:58 PM Revision 3bcb10ad (git): complex.c: multiply as rotation
- * complex.c (nucomp_mul): calculate as rotation in complex plane
if matrix calculation resulted in NaN.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:48 PM Bug #10893: String#chomp (and chomp!) with a UTF-8 record separator results in Encoding::CompatibilityError
- ```
% ruby -ve '$/="\n".encode("UTF-8"); p "abc\r\n".encode("utf-32be").chomp'
ruby 2.0.0p598 (2014-11-13 revision 48408) [x86_64-darwin13.4.0]
"abc"
```
```
% ruby -ve '$/="\n".encode("UTF-8"); p "abc\r\n".encode("utf-32be").chomp... -
07:40 AM Bug #10893: String#chomp (and chomp!) with a UTF-8 record separator results in Encoding::CompatibilityError
- ruby_2_2 r49718 merged revision(s) 49706.
-
12:47 AM Bug #10893 (Closed): String#chomp (and chomp!) with a UTF-8 record separator results in Encoding::CompatibilityError
- Applied in changeset r49706.
----------
string.c: smart chomp
* string.c (chompped_length): enable smart chomp for all non-dummy
encoding strings, not only default_rs.
[ruby-core:68258] [Bug #10893] - 12:57 PM Revision 87e3aec8 (git): * test/ruby/test_math.rb(test_cbrt): Add an assertion for Math.cbrt(1.0/0)
- and move #test_cbrt to more proper place.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:11 AM Revision fbc8841a (git): * vm_insnhelper.c (lep_svar_place, lep_svar_get): do not create
- additional T_NODE object (svars holder) when only getting
svars.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:03 AM Bug #10891: /[[:punct:]]/ POSIX group broken (with string literals?)
- On further investigation, this is a known issue in Onigmo (Ruby 2.x's regexp parser).
However, it was apparently "fixed" way back in 2006: https://github.com/k-takata/Onigmo/blob/d0b3173893b9499a4e53ae1da16ba76c06d85571/HISTORY#L584-5... -
08:55 AM Revision c4b980ec (git): merge revision(s) 49531:
- test_dir_m17n.rb: fix tests
* test/ruby/test_dir_m17n.rb (with_enc_path): test with UTF-8
default external encoding for non-locale environments.
* test/ruby/test_dir_m17n.rb (test_glob_warning_opendir): valid
only i... -
08:46 AM Bug #10887: Time#zone encoding is ASCII-8BIT instead of intended US-ASCII
- ruby_2_2 r49719 merged revision(s) 49693,46907,49702,49710.
-
02:50 AM Bug #10887 (Closed): Time#zone encoding is ASCII-8BIT instead of intended US-ASCII
- Applied in changeset r49710.
----------
time.c: locale time zone name
* time.c (time_zone_name): should be US-ASCII only if all 7-bits,
otherwise locale encoding. [ruby-core:68230] [Bug #10887] -
02:45 AM Bug #10887 (Open): Time#zone encoding is ASCII-8BIT instead of intended US-ASCII
- Japanese edition.
~~~
$ ./ruby -v -e 'p Time.now.zone'
ruby 2.3.0dev (2015-02-24 trunk 49709) [x64-mswin64_120]
"\x93\x8C\x8B\x9E (\x95W\x8F\x80\x8E\x9E)"
~~~ -
08:42 AM Revision 5d8bf153 (git): merge revision(s) 49693,46907,49702,49710: [Backport #10887]
- * time.c: Zone encoding should be US-ASCII if all 7-bits. Fix r46907.
* test/ruby/test_time.rb, test/ruby/test_time_tz.rb: Update tests.
* time.c (time_zone_name): should be US-ASCII only if all 7-bits,
otherw... -
07:40 AM Revision 6d90e595 (git): merge revision(s) 49706: [Backport #10893]
- * string.c (chompped_length): enable smart chomp for all non-dummy
encoding strings, not only default_rs.
[ruby-core:68258] [Bug #10893]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49718 b2dd03c8-3... -
07:37 AM Bug #10886: String#split now throws a RegexpError instead of an ArgumentError
- ruby_2_2 r49717 merged revision(s) 49695.
-
07:36 AM Revision e6d4a21c (git): merge revision(s) 49695: [Backport #10886]
- * string.c (rb_str_split_m): raise ArgumentError at broken string
not RegexpError, as Regexp is not involved in.
[ruby-core:68229] [Bug #10886]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49717 b2d... -
06:55 AM Bug #10229: RFC 5649 implementation in OpenSSL breaks Ruby.
- Zachary Scott wrote:
> Have these commits been backported?
Yes they were. Thanks for asking.
-
06:40 AM Bug #10768 (Closed): segfault during ruby_vm_destruct() in cont_free()
- Applied in changeset backport22:r49716.
----------
merge revision(s) 49474,49541,49545,49684: [Backport #10768]
* gc.c (rb_objspace_free): cause rb_bug if lazy sweep is in progress
during rb_objspace_free. Adds extra protection for... -
06:40 AM Bug #10768: segfault during ruby_vm_destruct() in cont_free()
- ruby_2_2 r49716 merged revision(s) 49474,49541,49545,49684.
-
06:39 AM Revision 3bfc1d3d (git): merge revision(s) 49474,49541,49545,49684: [Backport #10768]
- * gc.c (rb_objspace_free): cause rb_bug if lazy sweep is in progress
during rb_objspace_free. Adds extra protection for r46340.
Patch by Vicent Marti. [Bug #10768] [ruby-core:67734]
* gc.c (rb_objspace_call_f... -
04:59 AM Revision 759724fa (git): mkrunnable.rb: try mklink
- * tool/mkrunnable.rb (Mswin#ln_safe): try mklink command if not
linked already.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:51 AM Revision c8141a81 (git): win32.c: reduce memory size
- * win32/win32.c (szInternalCmds): reduce memory size, from 506 on
32bit and 702 on 64bit to 490 bytes, and remove relocations.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:51 AM Revision fa1575d1 (git): common.mk: prefix timestamp file by "."
- * common.mk (ENC_TRANS_D): prefix by "." to clarify that timestamp
file for build directory is under the build directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:34 AM Revision 7294d08d (git): dir.c: use packed structs
- * dir.c (is_case_sensitive, replace_real_basename): [OSX] use
packed structs instead of arrays to suppress warning by older
versions of gcc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:50 AM Revision e97b684c (git): ChangeLog: commit miss
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:49 AM Revision 004ce53b (git): time.c: locale time zone name
- * time.c (time_zone_name): should be US-ASCII only if all 7-bits,
otherwise locale encoding. [ruby-core:68230] [Bug #10887]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:05 AM Revision dcc004cb (git): eval.c: use the given thread
- * eval.c (setup_exception): use the given thread instead of
implicit current thread.
* load.c (rb_load_internal0): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:52 AM Bug #10885: Segmentation fault when calling refined method in duplicate module
- ruby_2_2 r49708 merged revision(s) 49685,49687.
-
01:31 AM Revision 6cbbe854 (git): merge revision(s) 49685,49687: [Backport #10885]
- * vm_insnhelper.c (rb_vm_rewrite_cref_stack): copy nd_refinements
of orignal crefs. It fixes segmentation fault when calling
refined method in duplicate module. [ruby-dev:48878] [Bug #10885]
* vm_core.h, clas... - 12:47 AM Revision edad4f3b (git): * 2015-02-24
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:47 AM Revision 4c0106ea (git): string.c: smart chomp
- * string.c (chompped_length): enable smart chomp for all non-dummy
encoding strings, not only default_rs.
[ruby-core:68258] [Bug #10893]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
02/23/2015
-
11:09 PM Bug #10896 (Closed): First example in the documentation for URI::join shows incorrect result
- The example is
~~~
p URI.join("http://example.com/","main.rbx")
# => #<URI::HTTP:0x2022ac02 URL:http://localhost/main.rbx>
~~~
but should be
~~~
p URI.join("http://example.com/","main.rbx")
# => #<URI::HTTP:0x2022ac02 URL:... -
09:31 PM Feature #10844: TracePoint API needs an event to inform about creating/removing a new frame without calling something
- @Oleg What's the problem with counting frame's stack size manually?
-
11:56 AM Feature #10844: TracePoint API needs an event to inform about creating/removing a new frame without calling something
- Koichi Sasada wrote:
> I want to reject this proposal because:
> ...
not sure how it is related :( The even is supposed to be filed only if a new frame has been pushed so it is ok to not file it here.
> (2) performance down
> ...
... -
10:06 AM Feature #10844 (Feedback): TracePoint API needs an event to inform about creating/removing a new frame without calling something
- I want to reject this proposal because:
(1) ensure clause can be executed without pushing frame
begin
# no exception
ensure
puts "ensure"
end
The line [puts "ensure"] is called without pushing new frame.
(2) performan... -
08:47 PM Bug #10895 (Closed): /usr/lib/ruby/2.2.0/socket.rb:232: [BUG] rb_sys_fail(getaddrinfo) - errno == 0
- It was caused while starting Brimir help desk software (Rails):
https://github.com/ivaldi/brimir
It works with Thin, but crashes with WEBrick.
This bug may be related to Bug #9697.
~~~
=> Booting WEBrick
=> Rails 4.2.0 appl... -
07:29 PM Bug #10887: Time#zone encoding is ASCII-8BIT instead of intended US-ASCII
- Yui NARUSE wrote:
> Applied in changeset r49702.
> ...
Thanks! Do you have an example? -
09:32 AM Bug #10887 (Closed): Time#zone encoding is ASCII-8BIT instead of intended US-ASCII
- Applied in changeset r49702.
----------
zone may be ASCII-8BIT on Windows [Bug #10887] -
04:52 PM Bug #10229 (Feedback): RFC 5649 implementation in OpenSSL breaks Ruby.
- Hello Vit, Thank you for confirming!
Have these commits been backported? -
03:35 PM Bug #10229 (Closed): RFC 5649 implementation in OpenSSL breaks Ruby.
- This seems to be resolved by r49525, r49575 and r49579
-
04:38 PM Bug #10855: [PATCH] Matrix#inverse returns matrix of integers whenever possible
- TBH, I can't think of any legitimate use of `Matrix#/` with integer division. Anyone?
I never really thought of that, but it's a bit odd that there is no natural way to write `Matrix.I(3) / 2`, say. There's no `quo` method on `Matrix... -
12:03 AM Bug #10855: [PATCH] Matrix#inverse returns matrix of integers whenever possible
- Hello! Are there any further thoughts or consensus on which path to take with this?
Here are the options:
1. When dividing matrices, if the resulting matrix has any rational numbers in it, it is entirely rational numbers--
even if ... -
04:35 PM Bug #10397: gcc 4.1.2 for x86 can't build trunk
- Red Hat Enterprise Linux 5 ships with Ruby 1.8.5, more recent releases of Ruby, as they are shipped in Red Hat Software Collections, are available since Red Hat Enterprise Linux 6+. Moreover, Red Hat Enterprise Linux 5 is already in Prod...
-
04:08 PM Feature #10883: Passing a block to itself
- Note that for your example that wouldn't be needed:
```
a = an_array.foo.bar
a[1..a.length-1].baz
```
is equivalent to
```
an_array.foo.bar[1..-1].baz
``` -
03:53 PM Bug #10891: /[[:punct:]]/ POSIX group broken (with string literals?)
- Nobuyoshi Nakada wrote:
> It occurs with UTF-8 encoding only.
Ahhhhh, of course - *that's* what the difference between `60.chr` and `"<"` is!
Like you said, the issue only affects UTF-8 encodings:
#<Encoding:UTF-8>, #<Encod... -
02:45 PM Bug #10891: /[[:punct:]]/ POSIX group broken (with string literals?)
- It occurs with UTF-8 encoding only.
-
12:29 PM Bug #10891 (Closed): /[[:punct:]]/ POSIX group broken (with string literals?)
- The regular expression: `/[[:punct:]]/` should match the following characters:
! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~
However, it only works for these characters:
! " # % & ' ( ) * , - . / : ; ? ... -
03:12 PM Bug #10894 (Rejected): Unamed keyrest argument and a normal keyword argument disallow arbitrary keyword arguments
- $ ruby -ve 'def m(a:1,**);end; p m(a:1,b:2)'
ruby 2.0.0p576 (2014-09-19) [x86_64-linux]
-e:1:in `<main>': unknown keyword: b (ArgumentError)
I searched to find out if it was reported but I did not find anything.
Can y... -
02:20 PM Bug #10890 (Closed): revision.h が空になる
- Applied in changeset r49705.
----------
vcs.rb: do not use -C for older git
* tool/vcs.rb (IO.popen): support :chdir option.
* tool/vcs.rb (VCS::GIT.get_revisions): use :chdir option instead
of -C option which is not supported by old... -
12:26 PM Bug #10890 (Closed): revision.h が空になる
- Ubuntu 12.04 LTS のように git が古い環境だと revision.h が空になってしまいます。
原因を調べてみたところ -C オプションに対応していないからのようです。
~~~
% git --version
git version 1.7.9.5
% ruby -vd --disable=gems tool/file2lastrev.rb --revision.h .
ruby 2.3.0dev (2015-02-23) [x86_... -
02:19 PM Revision 673af3e9 (git): vcs.rb: do not use -C for older git
- * tool/vcs.rb (IO.popen): support :chdir option.
* tool/vcs.rb (VCS::GIT.get_revisions): use :chdir option instead
of -C option which is not supported by older git.
[ruby-dev:48880] [Bug #10890]
git-svn-id: svn+ssh://ci.ruby-lang.or... -
01:53 PM Bug #10893 (Closed): String#chomp (and chomp!) with a UTF-8 record separator results in Encoding::CompatibilityError
- Reproducing code:
$/="\n".encode("UTF-8"); p "abc\r\n".encode("utf-32be").chomp
The encode to UTF-8 is to make sure the encoding is consistent across versions, but in recent rubies it is not necessary to trigger the bug.
... -
01:51 PM Bug #10841: 2.2.0p43 not building with gcc 4.9.1
- One possibility, as I can think of, is insufficient memory.
Does `make optflags=-O0 enc/trans/big5.o` also fail? -
01:45 PM Bug #10841 (Third Party's Issue): 2.2.0p43 not building with gcc 4.9.1
- It's a bug of gcc.
FYI, succeeded 2.2.0p77 with gcc version 4.9.1 (Ubuntu 4.9.1-16ubuntu6). -
12:41 PM Bug #10892 (Closed): Deadlock in autoload
- Updating to recent RubySpec seems to show a bug under concurrent autoload.
I attach the extracted logic to reproduce.
At me, the script ends with either, in most cases,
autoload_bug.rb:105:in `value': No live threads left. Dea... -
11:25 AM Bug #9198: Segfault in TestException#test_machine_stackoverflow
- Since this happens with recent glibc more often then it used to be, I reported this issue to glibc maintainers in Fedora [1]. I hope they can provide some help.
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1195206 -
11:08 AM Feature #10869: Add support for option to pre-compile Ruby files
- I understand there are different reasons why one would want to pre-compile Ruby code but not all kind of pre-compilation would meet all goals.
Personally, I'm not currently worried about packing an application in a single file, or to ... -
10:28 AM Feature #10869: Add support for option to pre-compile Ruby files
- We did trials.
* AOT compiler from YARV code to C
* https://github.com/shyouhei/ruby/tree/shyouhei/yarvaot/ext/yarvaot?utm_source=twitterfeed&utm_medium=twitter
* https://github.com/soba1104/CastOff
...
* [ruby-core:46896] t... -
10:41 AM Bug #10871: Sclass thread unsafe due to CREF sharing
- Deterministic example (avoiding non-deterministic).
```ruby
class C
end
class D
end
$fibs = []
$xs = []
[C, D].each{|klass|
klass.class_eval{
$fibs << Fiber.new{
class << self
class X
$xs ... -
12:18 AM Bug #10871: Sclass thread unsafe due to CREF sharing
- I tried to fix this, but I can't figure it out. :(
I tried adding the singleton class to the stack frame. Since the stack frames are thread local, I thought that would at least fix the problem, but it didn't.
Here is the patch I t... -
10:11 AM Feature #10561: Improve function of Thread::Backtrace::Location #path and #absolute_path
- It's fine for the methods to do different things, the naming however is a bit
confusing. Using `path` doesn't clearly state when it's absolute and when it's
relative. Perhaps `script_path` would make more sense.
Merging the two is a... -
09:59 AM Feature #10561: Improve function of Thread::Backtrace::Location #path and #absolute_path
- Koichi Sasada wrote:
> I guess the reason is that Matz thought backtrace should be simple for main script.
There's little benefit in having simple (i.e. basename only) path for main script (and only main script). I think consistent o... -
09:49 AM Feature #10561: Improve function of Thread::Backtrace::Location #path and #absolute_path
- > I think we don't need to separate (1) and (2). (1) can be absolute path.
I guess the reason is that Matz thought backtrace should be simple for main script.
-
09:48 AM Feature #10561: Improve function of Thread::Backtrace::Location #path and #absolute_path
- [MAYBE IT SHOULD BE DIFFERENT TICKET]
How about to unify #path and #absolute_path?
Returning absolute path on both methods.
When I made this API, there are three types path, (1) path of main script (partial path) and (2) paths of ... -
09:56 AM Bug #10803: Similar issue/stack trace as above in 2.1.5, 2.1.6
- Could you show us full code I can try?
-
09:40 AM Bug #10717: TestGemExtCmakeBuilder#test_self_build fails on RHEL 6/CentOS 6
- ruby_2_2 r49703 partially merged revision(s) 49195.
-
07:46 AM Bug #10717 (Closed): TestGemExtCmakeBuilder#test_self_build fails on RHEL 6/CentOS 6
- 09:36 AM Revision 9afc6729 (git): * 2015-02-23
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:35 AM Revision 897693b4 (git): Partially merge revision 49195: [Bug #10717]
- Support cmake 2.6 which is used by RHEL6/ CentOS 6
https://github.com/rubygems/rubygems/pull/1124
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:32 AM Revision 5b4afd02 (git): zone may be ASCII-8BIT on Windows [Bug #10887]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:30 AM Revision a525fbf0 (git): bold closed tickets
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:41 AM Bug #10889 (Closed): rdocでのスクリプトエンコーディングの挙動が違う
- 以下のような、マジックコメントの前に文字があるスタイルでスクリプトエンコーディングを指定した場合、
rubyスクリプトとしては正常に認識されますが、rdocでは認識されません。
~~~
#========== -*- coding: utf-8 -*-
# test
#================================
p __ENCODING__
# テスト
def test_method
puts 'テスト'
end
... -
07:35 AM Bug #10796 (Closed): bigdecimal gem update error
-
07:05 AM Revision 0d20fbe3 (git): eval.c: static IDs
- * eval.c (ruby_static_id_signo, ruby_static_id_status): add static
IDs, signo and status.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:05 AM Revision 556515bf (git): Makefile.in: make static IDs symbols local
- * Makefile.in (LIBRUBY_SO): make symbols for static IDs which
begin with ruby_static_id_ local too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:05 AM Revision 0eb1ac5b (git): vm_args.c: rb_exc_set_backtrace
- * vm_args.c (raise_argument_error): call rb_exc_set_backtrace
directly instead of funcall.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:05 AM Revision 31929bab (git): error.c: predefined IDs
- * error.c (id_bt, id_bt_locations): use IDs predefined in id.h.
* vm_args.c (raise_argument_error): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:27 AM Bug #10886 (Closed): String#split now throws a RegexpError instead of an ArgumentError
- Applied in changeset r49695.
----------
string.c: proper exception
* string.c (rb_str_split_m): raise ArgumentError at broken string
not RegexpError, as Regexp is not involved in.
[ruby-core:68229] [Bug #10886] -
06:26 AM Revision 4f3217e3 (git): string.c: raise a RegexpError
- * string.c (get_pat_quoted): simply raise a RegexpError, TypeError
is never raised.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:26 AM Revision a10fdc92 (git): string.c: proper exception
- * string.c (rb_str_split_m): raise ArgumentError at broken string
not RegexpError, as Regexp is not involved in.
[ruby-core:68229] [Bug #10886]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49695 b2dd03c8-39d4-4d8f-98ff-823fe69b... -
05:15 AM Bug #10761: Marshal.dump 100% slower in 2.2.0 vs 2.1.5
- ruby_2_2 r49513 merged revision(s) 49376,49387,49389.
49668 -
03:54 AM Bug #10877: String#sub causes segfault
- ruby_2_2 r49690 merged revision(s) 49675.
-
03:52 AM Bug #10888 (Closed): DFS recursive implementation aborted
- Hello,
I am trying to implement DFS algorithm recursively with a graph containing more than 5million edges:
`def dfs(directed_graph, vertex)
self.marked[vertex] = true
directed_graph.adj[vertex].each {|w| dfs(directed_graph...